读书人

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

发布时间: 2012-09-12 09:21:30 作者: rapoo

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

}

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


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

读书人网 >C++

热点推荐