pugixml/src
Arseny Kapoulkine 4bd8771c2f Implement correct move error handling for compact mode
In compact mode, we currently can not support zero-allocation moves
since some pointer assignments required during the move need to allocate
hash table slots.

This is mostly applicable to xml_document_struct::first_child, since the
pointer to this element is used as a hash table key, but there are some
contrived cases where parents of root's children need a hash slot and
didn't have it before.

These cases can be fixed by changing the compact encoding to be a bit
more move friendly, but for now it's easier to handle the error and
throw/return during move.

When this happens, the source document doesn't change.
2017-11-13 08:57:16 -08:00
..
pugiconfig.hpp Update copyright year to 2017 2017-01-26 20:12:06 -08:00
pugixml.cpp Implement correct move error handling for compact mode 2017-11-13 08:57:16 -08:00
pugixml.hpp Implement move support for xml_document 2017-09-25 19:31:18 -07:00