0
点赞
收藏
分享

微信扫一扫

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


软件架构师何志丹

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

举报

相关推荐

0 条评论