qq_33220107
qq_33220107
2017-10-30 02:33

vc6编译tixmlnode时出现运算符重载错误

  • c++
  • 运算符重载

vc6编译tixmlnode出现错误:
ticpp.h(999) : error C2679: binary '>>' : no operator defined which takes a right-hand operand of type 'class TiXmlNode' (or there is no acceptable conversion)
ticpp.h(1008) : error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'class TiXmlNode' (or there is no acceptable conversion)

图片说明

但是看代码类class TiXmlNode是有重载运算符<< 和 >>的,去掉其中的宏定义还是编译不过,求帮助

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

0条回答