Shall I need to destroy the xml_document? #562
Unanswered
siriusdemon
asked this question in
Q&A
Replies: 1 comment 1 reply
-
unique_ptr should work; "destroying" in the manual mostly refers to automatic C++ destruction (whether managed by unique_ptr/shared_ptr/stack variable/etc.) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I have tried to wrap the
xml_document
withunique_ptr
but fail to run. The document saysBut it never mentions a destroy function.
I have read the source code but still could not figure it out.
Beta Was this translation helpful? Give feedback.
All reactions