[Development] Important recent changes in QList/QString/QByteArray
thiago.macieira at intel.com
Wed Sep 2 16:33:27 CEST 2020
On Wednesday, 2 September 2020 00:39:04 PDT Иван Комиссаров wrote:
> If you write a vector and your vector doesn’t do what the standard says (and
> cppref literally quotes the paper here
> <http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2011/n3242.pdf>) than
> you have to have slightly better arguments than that.
QVector does not comply and does not intend to comply with the standard's
requirements. In fact, it intends to deviate from some of the requirements,
especially those relating to exception-safety and some of the complexity
requirements. And obviously QList does not comply with the standard's list
requirements, since it's the same as QVector in Qt 6. It's intentional.
Therefore, cppreference is irrelevant for the discussion.
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel DPG Cloud Engineering
More information about the Development