|
Banuba SDK
|
Loading...
Searching...
No Matches
4#include <bnb/utils/exceptions.hpp>
11#define BNB_ASSERT(expr) assert(expr)
12#define BNB_ASSERT_MSG(expr, msg) assert((expr) && (msg))
14#define BNB_CHECK(expr) \
16 BNB_THROW(std::logic_error, #expr); \
19#define BNB_CHECK_MSG(expr, msg) \
21 BNB_THROW(std::logic_error, std::string(msg) + ": " + #expr); \