7 #ifndef _INC_cPtrTrace_H
8 #define _INC_cPtrTrace_H
35 : m_pszType(TypeInfo.name())
39 : m_pszType(ref.m_pszType), m_Src(ref.m_Src)
44 void TraceOpen(
void* p);
45 void TraceClose(
void* p);
#define GRAYCORE_LINK
Definition: GrayCore.h:47
#define UNITTEST_FRIEND(n)
Define this in the class body to be unit tested. Allow the unit test to access private/protected stuf...
Definition: cUnitTestDecl.h:17
Definition: cPtrTrace.h:21
const char * m_pszType
from __typeof(TYPEINFO_t).name()
Definition: cPtrTrace.h:28
static bool sm_bActive
Turn on/off tracing via cPtrTraceMgr. be fast.
Definition: cPtrTrace.h:31
cPtrTrace(const TYPEINFO_t &TypeInfo) noexcept
Definition: cPtrTrace.h:34
cDebugSourceLine m_Src
where (in code) was m_p set?
Definition: cPtrTrace.h:29
cPtrTrace(const cPtrTrace &ref) noexcept
Definition: cPtrTrace.h:38
< The main namespace for all Core functions.
Definition: GrayCore.cpp:14
std::type_info TYPEINFO_t
Definition: cTypeInfo.h:29
Definition: cDebugAssert.h:29