mcl: Add UNIMPLEMENTED macro
This commit is contained in:
parent
208acb3026
commit
e7bafeae24
1 changed files with 1 additions and 0 deletions
1
externals/mcl/include/mcl/assert.hpp
vendored
1
externals/mcl/include/mcl/assert.hpp
vendored
|
@ -24,6 +24,7 @@ template<typename... Ts>
|
||||||
} // namespace mcl::detail
|
} // namespace mcl::detail
|
||||||
|
|
||||||
#define UNREACHABLE() ASSERT_FALSE("Unreachable code!")
|
#define UNREACHABLE() ASSERT_FALSE("Unreachable code!")
|
||||||
|
#define UNIMPLEMENTED() ASSERT_FALSE("Unimplemented at {}:{} ", __FILE__, __LINE__);
|
||||||
|
|
||||||
#define ASSERT(expr) \
|
#define ASSERT(expr) \
|
||||||
[&] { \
|
[&] { \
|
||||||
|
|
Loading…
Reference in a new issue