このページを編集する際は、編集に関する方針に従ってください。
/*
* TrapMacro is the same as Trap but it's intended for use in macros: * * #define foo(x) (AssertMacro(x != 0) && bar(x)) * * Isn't CPP fun? */
#define TrapMacro(condition, errorType) \
((bool) ((! assert_enabled) || ! (condition) || \ (ExceptionalCondition(CppAsString(condition), (errorType), \ __FILE__, __LINE__))))
更新日 | 更新者 | 更新内容 |