Namespace holding custom assert implementation.
Functions | |
| bool | assert_handler_implementation (const char *condition, const char *file, const char *func_name, int line, const char *message, tfm::FormatListRef format_list) |
| Actual assert implementation. More... | |
| template<typename... Args> | |
| bool | assert_handler (const char *condition, const char *file, const char *func_name, int line, const char *message, const Args &... args) |
| Assert handler that unpacks varargs. More... | |
| bool mm::assert_internal::assert_handler | ( | const char * | condition, |
| const char * | file, | ||
| const char * | func_name, | ||
| int | line, | ||
| const char * | message, | ||
| const Args &... | args | ||
| ) |
Assert handler that unpacks varargs.
Definition at line 54 of file assert.hpp.
| bool mm::assert_internal::assert_handler_implementation | ( | const char * | condition, |
| const char * | file, | ||
| const char * | func_name, | ||
| int | line, | ||
| const char * | message, | ||
| tfm::FormatListRef | format_list | ||
| ) |
Actual assert implementation.
| condition | Condition to test, e.g. n > 0. |
| file | File where the assertion failed. |
| func_name | Function name where the assertion failed. |
| line | Line on which the assertion failed. |
| message | Message as specified in the assert_msg macro. |
| format_list | List of format field values to pass to tinyformat::format function. |
Definition at line 12 of file assert.cpp.