--- a/rapidxml_print.hpp +++ b/rapidxml_print.hpp @@ -102,6 +102,20 @@ /////////////////////////////////////////////////////////////////////////// // Internal printing operations + // ===================================== + // fix for clang for this bug in gcc and others: https://sourceforge.net/p/rapidxml/bugs/16/ + + template inline OutIt print_children(OutIt out, const xml_node *node, int flags, int indent); + template inline OutIt print_element_node(OutIt out, const xml_node *node, int flags, int indent); + template inline OutIt print_data_node(OutIt out, const xml_node *node, int flags, int indent); + template inline OutIt print_cdata_node(OutIt out, const xml_node *node, int flags, int indent); + template inline OutIt print_declaration_node(OutIt out, const xml_node *node, int flags, int indent); + template inline OutIt print_comment_node(OutIt out, const xml_node *node, int flags, int indent); + template inline OutIt print_doctype_node(OutIt out, const xml_node *node, int flags, int indent); + template inline OutIt print_pi_node(OutIt out, const xml_node *node, int flags, int indent); + + // ===================================== + // Print node template inline OutIt print_node(OutIt out, const xml_node *node, int flags, int indent)