Code: Select all
constexpr bool invokable = invoke_flags[8];
if constexpr (is_int_range) {
// ...
} else {
static_assert(invokable, "Don't know how to handle predicate");
}
I've also tried adding "[[maybe_unused]]" before "constexpr bool invokable". No changes.