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

◆ ConstHandle() [1/3]

template<class X>
tfxx::ConstHandle< X >::ConstHandle ( Treference  p)
inline

constructor #tfxx::THandle<class X>::THandle#:

This constructor is used in the following way:

#THandle<X> handle(X);#

init constructor

Definition at line 100 of file handle.h.

100  :
101  Mrep(new Tmutableobject(p)), Mpcount(new int(1)) { }
Tmutableobject * Mrep
internal pointer to the handled object
Definition: handle.h:167
int * Mpcount
usage counter
Definition: handle.h:169