Loading...
Searching...
No Matches
Go to the documentation of this file.
7#define CCF_ASSERT_FMT_FAIL(...) \
8 CCF_ASSERT(false, fmt::format(__VA_ARGS__).c_str())
10#define CCF_ASSERT_FMT(expr, ...) \
11 CCF_ASSERT(expr, fmt::format(__VA_ARGS__).c_str())
14# define CCF_ASSERT(expr, msg) \
19 CCF_LOG_FMT(FAIL, "assert") \
20 ("Assertion failed: {} {}", #expr, (msg)); \
21 throw std::logic_error(msg); \
25# define CCF_ASSERT(expr, msg) ((void)0)