‘auto_ptr’ is deprecated in sc/source/core/tool/rangenam.cxx

Stephan Bergmann sbergman at redhat.com
Fri Sep 21 01:37:39 PDT 2012


On 09/20/2012 07:23 PM, julien2412 wrote:
> Could it be replaced by a non deprecated function (I don't know between
> std::shared_ptr, std::unique_ptr or boost functions)?

Note that I did just that with 
<http://cgit.freedesktop.org/libreoffice/core/commit/?id=67cde863f63725cb25d69c38d1b74a8d2bfaf9a7> 
"Use scoped_ptr instead of deprecated auto_ptr," not having seen your 
mail by then.

(And C++11 std::shared/unique_ptr are not yet generally available to us; 
we have to stick with boost for now.)

Stephan


More information about the LibreOffice mailing list