December 10th, 2012, 09:41 AM
Derive from pugi::xml_node
I would like to derive a class from pugi::xml_node to add more functionality to the class.
I get stuck when I try to append a child because pug::xml_node append_child return pugi::xml_node (not a pointer).
This is what I've tried, but it failes to compile.
Is there any way to do this?
PugiXmlNode PugiXmlNode::appendChild(std::string name)
return (PugiXmlNode) (append_child(name.c_str()));
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!