[ISSUE]Call to function 'print_children' that is neither visible in the template definition nor found by argument-dependent lookup

http://clang.llvm.org/compatibility.html#dep_lookup

在使用rapidxml进行保存时

rapidxml::xml_document<> doc;

std::ofstream out(filepath);

out >> doc;

提示错误:

Call to function 'print_children' that is neither visible in the template definition nor found by argument-dependent lookup

... 'print_element_node' ...

... 'print_data_node' ...

... 'print_cdata_node' ...

... 'print_declaration_node' ...

... 'print_comment_node' ...

... 'print_doctype_node' ...

没有前置申明

似乎与编译配置有关,后面再仔细研究下 

原文地址:https://www.cnblogs.com/shadow21/p/3754577.html