dom::document doc; dom::document_ref doc2( doc.root().document() ); assert( &doc2 == &doc );
and...
assert( doc2 == doc );
Can be implemented but ideally it would compare all the nodes in the document.
well, that's different. Do you want to know whether both documents are equal, or whether they are identical, i.e. whether both references point
to the same document ?
Hmm, just to check whether we are still talking about the same thing
here: do we agree that there can't be a 'node' type, i.e. just a 'node_ref'/'node_ptr' ?
Else it would be impossible to make that API a wrapper around libs like libxml2.
Stefan
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost