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 | [email protected] | Software Engineer
KDAB (UK) Ltd., a KDAB Group company | Tel: UK +44-1625-809908
KDAB - The Qt Experts

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

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to