C++: Good approach to handle libxml2 resource management in a wrapper

📝

内容提要

I try to write a C++ wrapper to a well-known C library, libxml2. In libxml2, an xmlDocPtr represent an XML document and xmlNodePtr represents a node. An xmlDocPtr contains a root xmlNodePtr and...

🏷️

标签

➡️

继续阅读