Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions include/stdx/static_assert.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@ template <ct_string Fmt, auto... Args> constexpr auto static_format() {
}.template operator()<cond>()

#endif

#define STATIC_PROOF(cond) \
if (not (cond)) asm("compiler cannot prove (" #cond ") is always true");
Loading