[Development] The future of smart pointers in Qt API
Giuseppe D'Angelo
giuseppe.dangelo at kdab.com
Fri Jan 31 21:14:25 CET 2020
On 31/01/2020 21:09, Allan Sandfeld Jensen wrote:
> QScopedPointer is exactly the counterpart to unique_ptr, the only difference
> is the decision not to provide a move constructor and assignment when we
> finally were allowed to use C++11,
"Only difference" is a major understatement here.
The question stays: how do we call a unique_ptr equivalent?
--
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4329 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.qt-project.org/pipermail/development/attachments/20200131/8f5b101d/attachment.bin>
More information about the Development
mailing list