HolderInitializer< T, false >

HolderInitializer< T, false > struct

HolderInitializer specialization for the case when T is a value type., The usage context allow to return reference to temporary objects, as it is guaranteed, that the instance will be copied by caller. So, this specialization is used just as a stub, and do nothing.

template<typename T>class HolderInitializer< T, false >

Methods

MethodDescription
const T& Hold(const T&)
HolderInitializer(T&)
const T& HoldIfTemporary(const T&)

See Also