qt5base-lts/tests/auto
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
..
cmake Rework the failure macros in the Qt CTest kit 2021-03-17 13:34:39 +01:00
concurrent Fix a few compiler warnings in tests 2021-02-02 12:06:05 +01:00
corelib QList: Satisfy contiguous_range requirements 2021-04-06 11:35:35 +02:00
dbus dbus: Fix missing QVersionNumber include 2021-01-25 12:09:17 +01:00
gui BLACKLIST tst_qfont for Red Hat 2021-04-06 07:35:24 +03:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
network Linux: Add abstract address support for QLocal{Socket,Server} 2021-04-01 06:57:04 +01:00
opengl Remove the qmake project files 2021-01-07 15:32:28 +01:00
other Remove QEXPECT_FAIL from passing test 2021-03-31 10:20:07 +02:00
printsupport Remove the qmake project files 2021-01-07 15:32:28 +01:00
shared Remove false Q_UNREACHABLE from shaping code 2021-02-03 09:44:44 +01:00
sql QSqlQuery: make it a move only type 2021-03-21 10:16:56 +01:00
testlib QAbstractItemModelTester: fix false positive when model has zero columns 2021-03-30 10:36:06 +02:00
tools Silence a bunch of gcc warnings for the moc test 2021-03-29 15:59:48 +02:00
widgets Fix some warnings 2021-03-31 10:51:50 +02:00
xml tst_qdom: clean-up the code enabled only before Qt 6 2021-01-15 15:22:08 +01:00
CMakeLists.txt CMake: Fix building with -DQT_FEATURE_gui=OFF 2020-09-15 20:05:32 +02:00
network-settings.h Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00