It would be really great to have some sort of static_assert during partial evaluation, e.g.,
pe_assert ( <expression> [, <message>] )
to make compilation fail with a meaningful error message in cases where domain-specific sanity checks can tell us at compile time that the generated code will be meaningless…
It would be really great to have some sort of
static_assertduring partial evaluation, e.g.,to make compilation fail with a meaningful error message in cases where domain-specific sanity checks can tell us at compile time that the generated code will be meaningless…