[] {
Checker<1> chk;
static_assert(chk.check(1));
assert(chk.check(0));
}();
static_assert
messages in C++20bool
[...] the resulting diagnostic message (4.1) shall include the text of
the
string-literal, if one is supplied, [...]
static_assert(false)
static_assert(false)
static_assert(false)
static_assert
messagesstatic_assert
messages
static_assert
messages