首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

小弟我的类模板为什么出错了

2012-09-12 
我的类模板为什么出错了template class Tclass wndlist{public:wndlist(){}}为什么会提示wndlist is no

我的类模板为什么出错了
template <class T>
class wndlist
{
public:
wndlist()
{

}

};
为什么会提示wndlist is not a template type


[解决办法]
VS2005编译通过,所以不是模板本身的问题。建议全局搜索下wndlist是不是已经被定义成其他类型或者变量了。
[解决办法]
编译通过.

热点排行