Function swap

Synopsis

#include <include/EASTL/bonus/compressed_pair.h>

void swap(compressed_pair< T1, T2 > &y)

Description

No description yet.

Source

Lines 148-152 in include/EASTL/bonus/compressed_pair.h.

void swap(compressed_pair<T1, T2>& y)
{
    cp_swap(mFirst, y.first());
    cp_swap(mSecond, y.second());
}





Add Discussion as Guest

Log in