BloombergLP::bslalg::SwapUtil

This class provides a namespace for the swap utility method.

Synopsis

Declared in <bslalg_swaputil.h>

class SwapUtil;

Static Member Functions

NameDescription
swap 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.