3e803b5180
This necessitates adding d==0 checks in QCollator. By documenting that moved-from instances can only be assigned to or destroyed, we can limit the functions in which to check for d==0 to the assignment operator and the destructor. Doing otherwise would destroy all advantages of move semantics by introducing a heap allocation to re-populate other.d. Add a test for this (QCollator didn't have any before). Change-Id: Ic6ff202072822bebfd5e48259c3d0fa345a63118 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
56 lines
969 B
Prolog
56 lines
969 B
Prolog
TEMPLATE=subdirs
|
|
SUBDIRS=\
|
|
qalgorithms \
|
|
qarraydata \
|
|
qbitarray \
|
|
qbytearray \
|
|
qbytearraymatcher \
|
|
qbytedatabuffer \
|
|
qcache \
|
|
qchar \
|
|
qcollator \
|
|
qcommandlineparser \
|
|
qcontiguouscache \
|
|
qcryptographichash \
|
|
qdate \
|
|
qdatetime \
|
|
qeasingcurve \
|
|
qelapsedtimer \
|
|
qexplicitlyshareddatapointer \
|
|
qfreelist \
|
|
qhash \
|
|
qline \
|
|
qlinkedlist \
|
|
qlist \
|
|
qlocale \
|
|
qmap \
|
|
qmargins \
|
|
qmessageauthenticationcode \
|
|
qpair \
|
|
qpoint \
|
|
qpointf \
|
|
qqueue \
|
|
qrect \
|
|
qregexp \
|
|
qregularexpression \
|
|
qringbuffer \
|
|
qscopedpointer \
|
|
qscopedvaluerollback \
|
|
qset \
|
|
qsharedpointer \
|
|
qsize \
|
|
qsizef \
|
|
qstl \
|
|
qstring \
|
|
qstring_no_cast_from_bytearray \
|
|
qstringbuilder \
|
|
qstringlist \
|
|
qstringmatcher \
|
|
qstringref \
|
|
qtextboundaryfinder \
|
|
qtime \
|
|
qtimezone \
|
|
qtimeline \
|
|
qvarlengtharray \
|
|
qvector
|