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' ...

没有前置申明

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

 

相关文章:

  • 2021-09-06
猜你喜欢
  • 2022-12-23
  • 2021-06-07
  • 2021-12-17
  • 2022-02-04
  • 2021-11-24
  • 2022-12-23
  • 2021-05-18
相关资源
相似解决方案