21 #ifndef G_OBJECT_COUNTER_H
22 #define G_OBJECT_COUNTER_H
40 static void check(
const char * class_name ,
unsigned long n ) ;
59 template <
typename D, const
char * C>
76 static unsigned long m_n ;
79 template <
typename D, const
char * C>
82 template <
typename D, const
char * C>
89 template <
typename D, const
char * C>
96 template <
typename D, const
char * C>
103 template <
typename D, const
char * C>
void operator=(const Counter< D, C > &)
Assignment operator.
A private implementation class used by the G::Counter<> class template.
static void check(const char *class_name, unsigned long n)
Checks the instance counter.
An instance counter to help with leak testing.