VC6 到 VC8 不支持 模板类 显式实例化?

195 阅读1分钟

VC6 到 VC8 不支持 模板类 显式实例化?VC9和VC10 可以。 template class CStrBase;  template class CStrBase;  error C2949: 'SNXH::SN::CStrBase' : explicit instantiation; cannot use 'auto' and 'extern' on the same template-class specialization