qt5base-lts/tests/auto/corelib/tools
Fabian Kosmale 595b4e1a9b QList: Satisfy contiguous_range requirements
With C++20, there is a new iterator_category: contiguous_iterator, for
containers whose elements are stored contiguously in memory. In Qt 6,
QList satisfies this requirement.

However, we still need to tell the standard machinery about it. Step one
is to mark the iterators as contiguous_iterator; as that exists only in
C++20, we have to ifdef accordingly.
We also have to ensure that the iterators satisfy pointer_traits by
defining element_type due to how contiguous_range is specified. As this
runs afoul of LWG 3346, we check for known bad _GLIBCXX_RELEASE
versions.

Change-Id: I8c134544e694ba937e4d912393eb72fa75b49e3d
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
2021-04-06 11:35:35 +02:00
..
collections Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
containerapisymmetry Remove the qmake project files 2021-01-07 15:32:28 +01:00
qalgorithms Remove the qmake project files 2021-01-07 15:32:28 +01:00
qarraydata Purge various BLACKLIST entries that are now fixed 2021-02-02 10:40:44 +01:00
qbitarray Remove the qmake project files 2021-01-07 15:32:28 +01:00
qcache QCache: when overwriting, store the new cost instead of the delta 2021-01-14 10:00:01 +00:00
qcommandlineparser QCommandLineParser: fix crash if there's no QCoreApplication 2021-03-01 23:03:00 +01:00
qcontiguouscache Remove the qmake project files 2021-01-07 15:32:28 +01:00
qcryptographichash Remove the qmake project files 2021-01-07 15:32:28 +01:00
qduplicatetracker Remove the qmake project files 2021-01-07 15:32:28 +01:00
qeasingcurve Remove the qmake project files 2021-01-07 15:32:28 +01:00
qexplicitlyshareddatapointer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qflatmap Remove the qmake project files 2021-01-07 15:32:28 +01:00
qfreelist Remove the qmake project files 2021-01-07 15:32:28 +01:00
qhash Fix QMultiHash::count(key) crash 2021-03-12 08:38:42 +01:00
qhashfunctions Remove the qmake project files 2021-01-07 15:32:28 +01:00
qline Remove the qmake project files 2021-01-07 15:32:28 +01:00
qlist QList: Satisfy contiguous_range requirements 2021-04-06 11:35:35 +02:00
qmacautoreleasepool Remove the qmake project files 2021-01-07 15:32:28 +01:00
qmakearray Remove the qmake project files 2021-01-07 15:32:28 +01:00
qmap Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
qmargins Remove the qmake project files 2021-01-07 15:32:28 +01:00
qmessageauthenticationcode Remove the qmake project files 2021-01-07 15:32:28 +01:00
qoffsetstringarray Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpair Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpoint Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpointf Remove the qmake project files 2021-01-07 15:32:28 +01:00
qqueue Remove the qmake project files 2021-01-07 15:32:28 +01:00
qrect Remove the qmake project files 2021-01-07 15:32:28 +01:00
qringbuffer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qscopedpointer Disable warnings from using deprecated QScopedPointer::take 2021-02-13 06:44:52 +01:00
qscopedvaluerollback Remove the qmake project files 2021-01-07 15:32:28 +01:00
qscopeguard Remove the qmake project files 2021-01-07 15:32:28 +01:00
qset Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
qsharedpointer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qsize Add more support for structured bindings 2021-02-25 16:08:44 +01:00
qsizef Add more support for structured bindings 2021-02-25 16:08:44 +01:00
qstl Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtaggedpointer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtimeline Remove the qmake project files 2021-01-07 15:32:28 +01:00
qvarlengtharray Remove the qmake project files 2021-01-07 15:32:28 +01:00
qversionnumber Remove the qmake project files 2021-01-07 15:32:28 +01:00
CMakeLists.txt QDuplicateTracker: add tests 2020-12-01 14:42:52 +01:00