On 04/24/2012 07:03 PM, Michael Stahl wrote:
it would of course be nice if the f..ine documentation would mention
that erase() will delete the element, but i can't find that fact
mentioned here:

http://www.boost.org/doc/libs/1_49_0/libs/ptr_container/doc/ptr_sequence_adapter.html

It kind of implicitly follows from the general motivation for the class: "For each of the standard containers there is a pointer container equivalent that takes ownership of the objects in an exception safe manner." [<http://www.boost.org/doc/libs/1_49_0/libs/ptr_container/doc/ptr_container.html#motivation>] But, yeah, could be more explicit.

Stephan
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to