Quick Links:

bal | bbl | bdl | bsl

Static Public Member Functions

bslalg::SwapUtil Class Reference

#include <bslalg_swaputil.h>

List of all members.

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 Component bslalg_swaputil


Member Function Documentation

template<class T >
static 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: