컴파일러 오류 C2766
명시적 특수화. 'specialization'은 이미 정의되어 있습니다.
중복 명시적 특수화는 허용되지 않습니다. 자세한 내용은 함수 템플릿의 명시적 특수화를 참조 하세요.
다음 샘플에서는 C2766을 생성합니다.
// C2766.cpp
// compile with: /c
template<class T>
struct A {};
template<>
struct A<int> {};
template<>
struct A<int> {}; // C2766
// try the following line instead
// struct A<char> {};