In the following C++20 function template:
template<int i>
void f() {
if constexpr (i == 1)
g();
else if constexpr (i == 2)
h();
else
??? // <--error
}
Is there something we can write in ??? such that a call of f<3>() will fail at compile-time?