qt5base-lts/tests/auto/corelib/tools/qvarlengtharray
Marc Mutz ffb73175e6 QVarLengthArray: add missing move special member functions
A QVLA is copyable, so it should be movable, too.

Added a helper function a la P1144's uninitialized_relocate_n to deal
with the QTypeInfoQuery stuff. This way, the code is re-usable
everywhere it's needed. The same cannot be said for QArrayDataOps,
which only a parent can love...

[ChangeLog][QtCore][QVarLengthArray] Added missing move constructor
and move-assignment operator.

Task-number: QTBUG-39111
Change-Id: If0dc2aa78eb29062d73dcd3dc4647ba345ae39e6
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2020-06-22 17:24:07 +00:00
..
.gitignore Moving relevant tests to corelib/tools 2011-09-01 13:07:23 +02:00
CMakeLists.txt Regenerate qtbase after wip/qt6 -> wip/cmake merge 2019-10-14 08:49:24 +00:00
qvarlengtharray.pro QVector/QList/QLinkedList/QVarLengthArray/QSet: add missing deduction guides 2019-08-07 23:09:03 +03:00
tst_qvarlengtharray.cpp QVarLengthArray: add missing move special member functions 2020-06-22 17:24:07 +00:00