TF++, Miscellaneous classes and modules in C++:

◆ ~ConstHandle()

template<class X>
tfxx::ConstHandle< X >::~ConstHandle ( )
inline

desctructor #tfxx::THandle<class X>::~THandle# book-keeping destructor

Definition at line 131 of file handle.h.

References tfxx::ConstHandle< X >::Mpcount, and tfxx::ConstHandle< X >::Mrep.

131 { if (--(*Mpcount)==0) { delete Mrep; delete Mpcount; } }
Tmutableobject * Mrep
internal pointer to the handled object
Definition: handle.h:167
int * Mpcount
usage counter
Definition: handle.h:169