Template Class SwapCountable

Class Documentation

template<typename T>
class SwapCountable

Wraps T to make its swap countable.

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

Public Functions

template<typename U>
inline explicit SwapCountable(U &&v)
template<typename U>
inline SwapCountable &operator=(U &&v)
inline operator T() const