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

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

Слідкуй за CodeGalaxy

Мобільний додаток Beta

Get it on Google Play
Зворотній Зв’язок
Cosmo
Зареєструйся Зараз
або Підпишись на майбутні тести