RapidXML print header has undefined methods

后端 未结 3 1114
终归单人心
终归单人心 2021-02-01 19:58

I\'ve been messing with using RapidXML on one of my projects. It was all going so well until I decided to use it for writing out xml. My code is more or less as follows:

3条回答
  •  太阳男子
    2021-02-01 20:06

    And to eliminate the unused flags in the print_attributes funcion, remove the flags word in the prototype of that funcion

    template
    inline OutIt print_attributes(OutIt out, const xml_node *node, int);
    

    and in its declaration

    template
    inline OutIt print_attributes(OutIt out, const xml_node *node, int)
    {
    

提交回复
热议问题