[Interest] QScopedPointer and c++11 move semantics
Giuseppe D'Angelo
giuseppe.dangelo at kdab.com
Fri Dec 30 20:35:34 CET 2016
Il 30/12/2016 20:32, Alexander Dyagilev ha scritto:
> This requires me to implement a special deleter function somewhere. I'm
> too lazy :)
>
> QXXXXPointer is a more convenient way.
QXXXXPointer would still require you to define your custom deleter (as
by default it would delete via operator delete). What would the
advantage be?
Cheers,
--
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (UK) Ltd., a KDAB Group company | Tel: UK +44-1625-809908
KDAB - Qt, C++ and OpenGL Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4007 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20161230/9960ec76/attachment.bin>
More information about the Interest
mailing list