BDE 4.14.0 Production release
|
#include <bslalg_swaputil.h>
Static Public Member Functions | |
template<class T > | |
static void | swap (T *a, T *b) |
This class provides a namespace for the swap
utility method.
See bslalg_swaputil
|
static |
Exchange the values of the specified a
and b
objects using either a swap
free function overloaded for type T
, in the namespace of type T
if it's available, and the default generic bsl::swap
otherwise.