libpgplotxx.a (C++ interface to PGPLOT)

◆ ~HandleOfConst()

template<class X>
pgplot::HandleOfConst< X >::~HandleOfConst ( )
inline

Destructor that takes care of reference count.

Definition at line 132 of file pghandle.h.

References pgplot::HandleOfConst< X >::Mpcount, and pgplot::HandleOfConst< X >::Mpointer.

133  { if (--(*Mpcount)==0) { delete Mpointer; delete Mpcount; } }
int * Mpcount
reference counter
Definition: pghandle.h:170
Tpointer Mpointer
internal pointer to the handled object
Definition: pghandle.h:168