[Development] std::allocate_shared for QSharedPointer

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Sat Sep 9 12:54:14 CEST 2017


Il 09/09/2017 10:46, Sean Harmer ha scritto:
> Does anybody have any plans to add such a facility? Or is there some
> other facility to avoid operator new here for both the QSP and the
> object itself?

Just go ahead and use std::allocate_shared, or is it in public APIs? Any 
such improvement to QSharedPointer at this point is really a waste of time.

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/development/attachments/20170909/70cb1a41/attachment.bin>


More information about the Development mailing list