|
ZeroErr
|
AssertionData is a struct that contains all the information of an assertion. It will be thrown as an exception when the assertion failed. 更多...
#include <assert.h>


Public 成员函数 | |
| AssertionData (const char *file, unsigned line, const char *cond, assert_info info) | |
| void | setResult (ExprResult &&result) |
| void | setException (const std::exception &e) |
| std::string | log () |
| void | operator() () |
| bool | shouldThrow () |
Public 属性 | |
| const char * | file |
| unsigned | line |
| assert_info | info |
| bool | passed |
| std::string | message |
| std::string | cond |
AssertionData is a struct that contains all the information of an assertion. It will be thrown as an exception when the assertion failed.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| std::string zeroerr::AssertionData::cond |
| const char* zeroerr::AssertionData::file |
| assert_info zeroerr::AssertionData::info |
| unsigned zeroerr::AssertionData::line |
| std::string zeroerr::AssertionData::message |
| bool zeroerr::AssertionData::passed |