Add detail::state_generator.

This helper utility computes the cartesian product of the runtime
axes.
This commit is contained in:
Allison Vacanti
2020-12-27 10:29:24 -05:00
parent 40f92b4705
commit 7b14ceb3fe
6 changed files with 237 additions and 2 deletions

View File

@@ -14,7 +14,7 @@
} \
} while (false)
#define ASSERT_MSG(cond, msg) \
#define ASSERT_MSG(cond, fmtstr, ...) \
do \
{ \
if (cond) \
@@ -25,7 +25,7 @@
__FILE__, \
__LINE__, \
#cond, \
msg); \
fmt::format(fmtstr, __VA_ARGS__)); \
exit(EXIT_FAILURE); \
} \
} while (false)