Overload of std::swap for Sph::Array.
More...
|
template<typename T , typename TCounter > |
void | swap (Sph::Array< T, TCounter > &ar1, Sph::Array< T, TCounter > &ar2) |
|
template<typename T > |
void | swap (Sph::AutoPtr< T > &p1, Sph::AutoPtr< T > &p2) |
|
template<typename T > |
void | swap (Sph::RawPtr< T > &p1, Sph::RawPtr< T > &p2) |
|
template<typename... TArgs> |
void | swap (Sph::Variant< TArgs... > &v1, Sph::Variant< TArgs... > &v2) |
|
Overload of std::swap for Sph::Array.
Overload of std::swap for Sph::Variant.
◆ swap() [1/4]
template<typename T , typename TCounter >
void std::swap |
( |
Sph::Array< T, TCounter > & |
ar1, |
|
|
Sph::Array< T, TCounter > & |
ar2 |
|
) |
| |
◆ swap() [2/4]
template<typename T >
void std::swap |
( |
Sph::AutoPtr< T > & |
p1, |
|
|
Sph::AutoPtr< T > & |
p2 |
|
) |
| |
◆ swap() [3/4]
template<typename T >
void std::swap |
( |
Sph::RawPtr< T > & |
p1, |
|
|
Sph::RawPtr< T > & |
p2 |
|
) |
| |
◆ swap() [4/4]
template<typename... TArgs>
void std::swap |
( |
Sph::Variant< TArgs... > & |
v1, |
|
|
Sph::Variant< TArgs... > & |
v2 |
|
) |
| |