Hi Marc,

Am 28.11.2016 15:33 schrieb "Marc Mutz" <marc.m...@kdab.com>:
> To see how simple gsl::owner markup is to incorporate into Qt, I sat
down, added it to QtGlobal and marked up QScopedPointer (incl. docs) with
gsl::owner.
>
> https://codereview.qt-project.org/178107

Owner does not work with Qt's object tree, so this seems like a pointless
exercise to me. Having some owners but not being able to use them
consistently is not a big win and already possible with plain C++ smart
pointers.

I asked Bjarne Stroustrup at Meeting C++ about Owner and object trees and
he said that is a memory model that is not supported and that we are on our
own there.

Best Regards,
Tobias
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to