Re: [boost] API Review request: XML API for C++, second round
by Stefan Seefeld other posts by this author
Jun 26 2003 8:39PM messages near this date
[boost] Re: Re: API Review request: XML API for C++, second round
|
Re: [boost] API Review request: XML API for C++, second round
Hamish Mackenzie wrote:
> 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
Thread:
Stefan Seefeld
Anthony Williams
Hamish Mackenzie
Stefan Seefeld
Anthony Williams
Hamish Mackenzie
Bohdan
Stefan Seefeld
Hamish Mackenzie
Stefan Seefeld
Hamish Mackenzie
Hamish Mackenzie
Stefan Seefeld
Hamish Mackenzie
Stefan Seefeld
Hamish Mackenzie
Stefan Seefeld
Hamish Mackenzie
Bohdan
Stefan Seefeld
Stefan Seefeld
Hamish Mackenzie
Stefan Seefeld
Hamish Mackenzie
Hamish Mackenzie
|