qt5base-lts/tests/auto/corelib/tools/qarraydata
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
..
qarraydata.pro Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
simplevector.h Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00
tst_qarraydata.cpp Make sure all containers compile in strict-iterator mode 2014-02-22 04:38:01 +01:00