VclPtr some improvements ?
michael.meeks at collabora.com
Mon Apr 16 07:58:59 UTC 2018
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
>> auto pFoo = VclPtr<Foo>::Create( pParent );
> One more argument supporting that,
> "-Werror,-Wreturn-std-move (recent Clang trunk)":
Sounds great to me =) easy-hack-ise, or clang-plugin ?
michael.meeks at collabora.com <><, Pseudo Engineer, itinerant idiot
More information about the LibreOffice