[Development] HEADS UP: Don't use QList, use Q_DECLARE_TYPEINFO

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Wed Jul 22 17:10:38 CEST 2015


Il 22/07/2015 16:52, Thiago Macieira ha scritto:
> Allocators is a feature we've never supported and I don't see us supporting.
>
> I don't see a problem with the alignment. QArrayData is allocated with
> alignment of min(alignof(QArrayData), alignof(T)), then we find the proper
> alignment for T inside the buffer and that should be enough.

It might not be enough for things like SIMD, though? (cf. 
boost::simd::allocator and similar things)

Cheers,
-- 
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Software Engineer
KDAB (UK) Ltd., a KDAB Group company | Tel: UK +44-1625-809908
KDAB - The Qt Experts

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4048 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/development/attachments/20150722/d91be9f2/attachment.bin>


More information about the Development mailing list