3 #ifndef SPECTMORPH_LEAK_DEBUGGER_HH 4 #define SPECTMORPH_LEAK_DEBUGGER_HH 16 std::map<void *, int> ptr_map;
19 void ptr_add (
void *p);
20 void ptr_del (
void *p);
26 template<
class T>
void add (T *instance) { ptr_add (static_cast<void *> (instance)); }
27 template<
class T>
void del (T *instance) { ptr_del (static_cast<void *> (instance)); }
Definition: smleakdebugger.hh:13
Definition: smalignedarray.cc:7