Function cp_swap

Synopsis

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

template <typename T>
void cp_swap(T &t1, T &t2)

Description

No description yet.

Source

Lines 108-114 in include/EASTL/bonus/compressed_pair.h.

template <typename T>
inline void cp_swap(T& t1, T& t2)
{
    T tTemp = t1;
    t1 = t2;
    t2 = tTemp;
}





Add Discussion as Guest

Log in