#include <iostream>
namespace N
{
template <int>
struct A
{
A() { std::cout << "A<int>()\n" << '\n'; }
};
}
using N::A;
namespace N
{
template <>
struct A<10>
{
A() { std::cout << "A<10>()\n" << '\n'; }
};
}
int main()
{
A<1> a1;
A<10> a2;
}
How to define a partial specialization for template argument 10?
So I think the description of the section should point out such cases.
With best regards,
Vlad from Moscow