Murl::Debug::Assert Class Reference
The assert class. More...
#include "murl_debug_assert.h"
Static Public Member Functions | |
static Bool | Abort (const Char *file, SInt32 line, const Char *condition) |
Write an assert message and abort the program. More... | |
Detailed Description
The assert class.
See MURL_ASSERT() and MURL_VERIFY().
Member Function Documentation
◆ Abort()
|
static |
Write an assert message and abort the program.
The message is printed using the Logger::PrintError() method and the program is aborted with System::CLib::Abort().
The message format is "[file name]:[line number]: failed assertion '[condition]'".
- Parameters
-
file The file's name string. line The file's line number. condition The string of the assert condition.
- Returns
- false.
The documentation for this class was generated from the following file:
- murl_debug_assert.h