MCRefPtrAttacher Class Template ReferenceTemplate class for attaching to a refcounted pointer without detaching on destruction.
Inheritance diagram for MCRefPtrAttacher:
List of all members.
Public Member Functions
||MCRefPtrAttacher (T *pHdl)|
template<typename T, MCThreadModel::EModel MODEL = MCThreadModel::THRMODELMULTI>
Template class for attaching to a refcounted pointer without detaching on destruction.
class mcllib::MCRefPtrAttacher< T, MODEL >
This is a useful and simple way of incrementing a reference count. However care should be taken to ensure that a corresponding MCRefPtrDetacher is used to decrement the count when the object is no longer required.
Generated on Wed Jan 12 19:05:49 2005 for MCLLIB by