Template Class SwapCountableRef

Class Documentation

template<typename T>
class SwapCountableRef

Wraps T& to make its swap countable.

use this as a swap-countable shallow wrapper for types whose swaps are not counted

Public Functions

inline explicit SwapCountableRef(T &ref)