请教高手模板问题
下面一段代码,编译时出
f:\c_prog\pyramidtree\bottom-up\bottum_up\x_tree.h(107) : error C2059: syntax error : '<'
f:\c_prog\pyramidtree\bottom-up\bottum_up\x_tree.h(181) : see reference to class template instantiation 'XTNode<DATA>' being compiled
template <class DATA>
class XTNode
{
friend class XTree<DATA>;
};
XTree<DATA> 是个一定义的模板类,原本的代码是Linux操作系统下的h文件,我现在在windows操作系统中用,
怎么解决啊,