Template Function epicsSwap

Function Documentation

template<class T>
inline void epicsSwap(T &a, T &b)

Swaps the values of a and b.

Note

The data type must support both copy-construction and assignment.