libpgplotxx.a (C++ interface to PGPLOT)

◆ HandleOfConst() [3/3]

template<class X>
template<class Y >
pgplot::HandleOfConst< X >::HandleOfConst ( const HandleOfConst< Y > &  h)
inline

Copy constructor that provides transparency for inheritance.

Definition at line 126 of file pghandle.h.

126  :
127  Mpointer(h.Mpointer), Mpcount(h.Mpcount)
128  { (*Mpcount)++; }
int * Mpcount
reference counter
Definition: pghandle.h:170
Tpointer Mpointer
internal pointer to the handled object
Definition: pghandle.h:168