Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はpugixmlライブラリを使用してxmlファイルを読み書きしています。
pugixml ライブラリの xml_document オブジェクトに「クローン」をディープ コピーするにはどうすればよいですか?
最も簡単なオプションは次のとおりです。
xml_document copy; copy.reset(doc);
よりきめ細かくする必要がある場合はcopy.append_copy()、個々のノードで使用できます。
copy.append_copy()