MCRefPtrAttacher Class Template Reference
Template class for attaching to a refcounted pointer without detaching on destruction.
More...
#include <mcllib/MCRefPtr.h>
Inheritance diagram for MCRefPtrAttacher:
List of all members.
|
Public Member Functions |
| MCRefPtrAttacher (T *pHdl) |
Detailed Description
template<typename T, MCThreadModel::EModel MODEL = MCThreadModel::THRMODELMULTI>
class mcllib::MCRefPtrAttacher< T, MODEL >
Template class for attaching to a refcounted pointer without detaching on destruction.
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
1.3.9.1