[Development] unique_ptr and Qt

Ville Voutilainen ville.voutilainen at gmail.com
Tue Jun 5 16:55:20 CEST 2018


On 5 June 2018 at 15:40, Daniel Teske <qt at squorn.de> wrote:
> Hi,
>
> I've done some research into how supporting unique_ptr in Qt might look
> like.
>
> I have a patch which adds apis using unique_ptr for ownership transfer to
> almost all of QtBase and a patch for Qt Creator to show how using those apis
> looks like.
>
> Qt: https://codereview.qt-project.org/231543
> Qt Creator: https://codereview.qt-project.org/231545

Just quickly: interesting. Being able to be explicit about ownership
transfer in Qt programming
has been a wishlist item for a long time. I will take a closer look in
the next couple of days,
I'm in the middle of the C++ standards committee meeting.



More information about the Development mailing list