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,
-- 
Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer
KDAB (UK) Ltd., a KDAB Group company | Tel: UK +44-1625-809908
KDAB - Qt, C++ and OpenGL Experts

Attachment: smime.p7s
Description: Firma crittografica S/MIME

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

Reply via email to