SPH
|
Custom assertions. More...
Go to the source code of this file.
Classes | |
struct | Assert |
class | Assert::Exception |
struct | Assert::ScopedAssertExceptionEnabler |
Macros | |
#define | TODO(x) Assert::todo(x, __FUNCTION__, __LINE__); |
#define | SPH_ASSERT(x, ...) MARK_USED(x) |
#define | CONSTEXPR_SPH_ASSERT(x) MARK_USED(x) |
#define | SPH_ASSERT_UNEVAL(x, ...) |
#define | NOT_IMPLEMENTED |
Helper macro marking missing implementation. More... | |
#define | STOP |
#define | SPH_STR(x) SPH_XSTR(x) |
#define | SPH_XSTR(x) #x |
Functions | |
template<typename TDerived , typename TBase > | |
INLINE TDerived | assert_cast (TBase *value) |
#define NOT_IMPLEMENTED |
Helper macro marking missing implementation.
#define STOP |
Helper macro marking code that should never be executed (default branch of switch where there is finite number of options, for example)
#define TODO | ( | x | ) | Assert::todo(x, __FUNCTION__, __LINE__); |