qt5base-lts/tests/auto/corelib/tools/tools.pro
Thiago Macieira 1c63909ad8 Make sure all containers compile in strict-iterator mode
Unit-test this by making the QList, QVector, QHash and QMap unit tests
be duplicated under strict-iterator mode. There's no test for
QLinkedList.

The tst_Collections test does not compile under strict-iterator
mode. It generated over 15000 errors when I tried.

The strict iterators required a small change: the difference_type
typedef needs to match the operators that get distances
(operator-(iterator)) and move the iterator around (+, -, +=, -=, etc.).

Task-number: QTBUG-29608
Change-Id: I834873934c51d0f139a994cd395818da4ec997e2
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Reviewed-by: Jason McDonald <macadder1@gmail.com>
2014-02-22 04:38:01 +01:00

63 lines
1.1 KiB
Prolog

TEMPLATE=subdirs
SUBDIRS=\
qalgorithms \
qarraydata \
qarraydata_strictiterators \
qbitarray \
qbytearray \
qbytearraylist \
qbytearraymatcher \
qbytedatabuffer \
qcache \
qchar \
qcollator \
qcommandlineparser \
qcontiguouscache \
qcryptographichash \
qdate \
qdatetime \
qeasingcurve \
qelapsedtimer \
qexplicitlyshareddatapointer \
qfreelist \
qhash \
qhash_strictiterators \
qline \
qlinkedlist \
qlist \
qlist_strictiterators \
qlocale \
qmap \
qmap_strictiterators \
qmargins \
qmessageauthenticationcode \
qpair \
qpoint \
qpointf \
qqueue \
qrect \
qregexp \
qregularexpression \
qringbuffer \
qscopedpointer \
qscopedvaluerollback \
qset \
qsharedpointer \
qsize \
qsizef \
qstl \
qstring \
qstring_no_cast_from_bytearray \
qstringbuilder \
qstringiterator \
qstringlist \
qstringmatcher \
qstringref \
qtextboundaryfinder \
qtime \
qtimezone \
qtimeline \
qvarlengtharray \
qvector \
qvector_strictiterators