mcl: Add UNIMPLEMENTED macro

This commit is contained in:
Yang Liu 2024-02-21 12:02:37 +08:00 committed by Merry
parent 208acb3026
commit e7bafeae24

View file

@ -24,6 +24,7 @@ template<typename... Ts>
} // namespace mcl::detail
#define UNREACHABLE() ASSERT_FALSE("Unreachable code!")
#define UNIMPLEMENTED() ASSERT_FALSE("Unimplemented at {}:{} ", __FILE__, __LINE__);
#define ASSERT(expr) \
[&] { \