BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslalg::SwapUtil Class Reference

#include <bslalg_swaputil.h>

Static Public Member Functions

template<class T >
static void swap (T *a, T *b)
 

Detailed Description

This class provides a namespace for the swap utility method.

See bslalg_swaputil

Member Function Documentation

◆ swap()

template<class T >
void bslalg::SwapUtil::swap ( T *  a,
T *  b 
)
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.


The documentation for this class was generated from the following file: