file new in Git master
DebugAssert.hMacro CORRADE_
Variants of asserts from Corrade/
Defines
- #define CORRADE_NO_DEBUG_ASSERT new in Git master
- Whether debug assertions are disabled.
- #define CORRADE_DEBUG_ASSERT(condition, message, returnValue) new in Git master
- Debug assertion macro.
- #define CORRADE_CONSTEXPR_DEBUG_ASSERT(condition, message) new in Git master
- Constexpr debug assertion macro.
- #define CORRADE_DEBUG_ASSERT_OUTPUT(call, message, returnValue) new in Git master
- Call output debug assertion macro.
- #define CORRADE_DEBUG_ASSERT_UNREACHABLE(message, returnValue) new in Git master
- Debug assert that the code is unreachable.
- #define CORRADE_INTERNAL_DEBUG_ASSERT(condition) new in Git master
- Internal debug assertion macro.
- #define CORRADE_INTERNAL_CONSTEXPR_DEBUG_ASSERT(condition) new in Git master
- Internal constexpr debug assertion macro.
- #define CORRADE_INTERNAL_DEBUG_ASSERT_OUTPUT(call) new in Git master
- Internal call output debug assertion macro.
- #define CORRADE_INTERNAL_DEBUG_ASSERT_EXPRESSION(...) new in Git master
- Internal expression debug assertion macro.
- #define CORRADE_INTERNAL_DEBUG_ASSERT_UNREACHABLE() new in Git master
- Internal debug assert that the code is unreachable.
Define documentation
#define CORRADE_NO_DEBUG_ASSERT new in Git master
Whether debug assertions are disabled.
Defined either if CORRADE_NDEBUG
is defined. When defined, debug assertions are not checked at all. See documentation of CORRADE_
#define CORRADE_DEBUG_ASSERT(condition, message, returnValue) new in Git master
Debug assertion macro.
Expands to CORRADE_do {} while(false)
.
You can override this implementation by placing your own #define CORRADE_DEBUG_ASSERT
before including the Corrade/
#define CORRADE_CONSTEXPR_DEBUG_ASSERT(condition, message) new in Git master
Constexpr debug assertion macro.
Expands to CORRADE_static_cast<void>(0)
.
You can override this implementation by placing your own #define CORRADE_CONSTEXPR_DEBUG_ASSERT
before including the Corrade/
#define CORRADE_DEBUG_ASSERT_OUTPUT(call, message, returnValue) new in Git master
Call output debug assertion macro.
Expands to CORRADE_static_cast<void>(call)
.
You can override this implementation by placing your own #define CORRADE_DEBUG_ASSERT_OUTPUT
before including the Corrade/
#define CORRADE_DEBUG_ASSERT_UNREACHABLE(message, returnValue) new in Git master
Debug assert that the code is unreachable.
Expands to CORRADE_return
statement can thus be safely omitted in a code path following this macro even in a release build without causing any compiler warnings or errors.
You can override this implementation by placing your own #define CORRADE_DEBUG_ASSERT_UNREACHABLE
before including the Corrade/
#define CORRADE_INTERNAL_DEBUG_ASSERT(condition) new in Git master
Internal debug assertion macro.
Expands to CORRADE_do {} while(false)
.
You can override this implementation by placing your own #define CORRADE_INTERNAL_DEBUG_ASSERT
before including the Corrade/
#define CORRADE_INTERNAL_CONSTEXPR_DEBUG_ASSERT(condition) new in Git master
Internal constexpr debug assertion macro.
Expands to CORRADE_static_cast<void>(0)
.
You can override this implementation by placing your own #define CORRADE_INTERNAL_CONSTEXPR_DEBUG_ASSERT
before including the Corrade/
#define CORRADE_INTERNAL_DEBUG_ASSERT_OUTPUT(call) new in Git master
Internal call output debug assertion macro.
Expands to CORRADE_static_cast<void>(call)
.
You can override this implementation by placing your own #define CORRADE_INTERNAL_DEBUG_ASSERT_OUTPUT
before including the Corrade/
#define CORRADE_INTERNAL_DEBUG_ASSERT_EXPRESSION(...) new in Git master
Internal expression debug assertion macro.
Expands to CORRADE_
You can override this implementation by placing your own #define CORRADE_INTERNAL_DEBUG_ASSERT_EXPRESSION
before including the Corrade/
#define CORRADE_INTERNAL_DEBUG_ASSERT_UNREACHABLE() new in Git master
Internal debug assert that the code is unreachable.
Expands to CORRADE_return
statement can thus be safely omitted in a code path following this macro even in a release build without causing any compiler warnings or errors.
You can override this implementation by placing your own #define CORRADE_INTERNAL_DEBUG_ASSERT_UNREACHABLE
before including the Corrade/