![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cDebugAssert.h>
Static Public Member Functions | |
static bool CALLBACK | Assert_System (const char *pszExp, const cDebugSourceLine &src) |
static bool __stdcall | Assert_Fail (const char *pszExp, const cDebugSourceLine src) |
static | __attribute__ ((noreturn)) void __stdcall Assert_Throw(const char *pszExp |
static bool __stdcall | Debug_Fail (const char *pszExp, const cDebugSourceLine src) noexcept |
Public Attributes | |
static const cDebugSourceLine | src |
Static Public Attributes | |
static AssertCallback_t * | sm_pAssertCallback = cDebugAssert::Assert_System |
redirect callback on Assert_Fail usually used for unit tests. More... | |
static bool | sm_bAssertTest = false |
Just testing. not a real assert. More... | |
Log assert events before handling as normal system assert(). like M$ Assert.IsTrue()
|
static |
|
static |
like _assert() is M$ code. Put something in the log after (or before?) doing normal assert processing. is this too dangerous?
|
static |
AssertCallback_t to use the system assert dialog. Use with sm_pAssertCallback.
|
staticnoexcept |
A 'softer' version of assert. non-fatal checks. for use in constructors, etc.
|
static |
Just testing. not a real assert.
|
static |
redirect callback on Assert_Fail usually used for unit tests.
const cDebugSourceLine Gray::cDebugAssert::src |