Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index



On 16/04/18 08:45, Stephan Bergmann wrote:
On 20/05/17 11:40, Michael Meeks wrote:
    Julien had some good ideas for simplifying VclPtr usage; here is the
background - currently we have:
...
    * Suggestion - lets kill VclPtrInstance in a world with
      'auto' its main use of saving a bit of typing is gone
      ie.

        auto pFoo = VclPtr<Foo>::Create( pParent );

One more argument supporting that,
<https://cgit.freedesktop.org/libreoffice/core/commit/?id=74b6e61dde64c5e24bffacda6f67dbf3d1fc7032>
"-Werror,-Wreturn-std-move (recent Clang trunk)":

        Sounds great to me =) easy-hack-ise, or clang-plugin ?

        Thanks !

                Michael.

-- 
michael.meeks@collabora.com <><, Pseudo Engineer, itinerant idiot

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.