Il 29/12/2016 13:03, Thiago Macieira ha scritto: > How is it ia win for std::vector to achieve next year what QVector has done > for the past 7 or 8?
Because with std::vector it has been possible for the last 16 years (by using a custom allocator), _and_ this behaviour has been well-defined by a Standard (unlike QVector, whose behaviour has always been undocumented / implementation defined, and possibly changed between Qt 3/4/5 and maybe will change again in Qt 6). -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer KDAB (UK) Ltd., a KDAB Group company | Tel: UK +44-1625-809908 KDAB - Qt, C++ and OpenGL Experts
smime.p7s
Description: Firma crittografica S/MIME
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest