Function swap

Synopsis

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

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

Description

No description yet.

Source

Lines 234-238 in include/EASTL/bonus/compressed_pair.h.

void swap(compressed_pair<T1,T2>& y)
{
    // No need to swap empty base class
    cp_swap(mFirst, y.first());
}





Add Discussion as Guest

Log in