This requires me to implement a special deleter function somewhere. I'm too lazy :)

QXXXXPointer is a more convenient way.


On 12/30/2016 10:31 PM, Giuseppe D'Angelo wrote:
Il 30/12/2016 20:27, Alexander Dyagilev ha scritto:
Hmmm.... So there is not std::unique_ptr analogue in Qt?

And we have to use std::unique_ptr with a special deleter...

(I would like to use &QObjet::deleteLater one).

Sadly...

But if you have C++11 (because all of this requires move semantics) why
not just using unique_ptr?

Cheers,

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to