Does the following code conain errors (compilation, runtime, linking, undefined behaviour)?
template <int T> void f();
template <> void f<0>() {}

void Test() {
  f<1>();
}

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Cosmo
Sign Up Now
or Subscribe for future quizzes