明示的なインスタンス化宣言には「class」キーワードが必要ですか?
template <class> class CL{};
template class CL<char>; //OK
template CL<int>; //without "class"; OK for VC and clang, wrong for gcc
明示的なインスタンス化宣言には「class」キーワードが必要ですか?
template <class> class CL{};
template class CL<char>; //OK
template CL<int>; //without "class"; OK for VC and clang, wrong for gcc