qt5base-lts/tests/auto/corelib
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
..
animation Port QPauseAnimation to the new property system 2021-01-26 21:47:47 +01:00
global Skip globalstatic threadStressTest on QEMU 2021-03-05 08:09:59 +00:00
io Disable security warnings from MSVC in tests 2021-03-17 17:22:00 +01:00
itemmodels Fix removing columns when QSortFilterProxyModel has not been sorted yet 2021-03-25 11:32:22 +02:00
kernel Fix Q_OBJECT_COMPAT_PROPERTY_WITH_ARGS when using the signal 2021-04-03 17:21:30 +02:00
mimetypes Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
plugin Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
serialization QJsonObject: Fix operator<=() 2021-02-18 11:22:51 +00:00
text Remove meaningless QT_NO_UNICODE_LITERAL check in QString literal tests 2021-03-30 10:37:13 +01:00
thread Add support to set thread priority to QThreadPool 2021-04-03 09:14:55 +02:00
time Extend system zone test to check it matches LocalTime 2021-03-18 15:30:48 +01:00
tools QList: Satisfy contiguous_range requirements 2021-04-06 11:35:35 +02:00
CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00