qt5base-lts/tests/auto/corelib
Fabian Kosmale ce83e56cfe QTypeInfo: Handle T::value_type being equal to T
Fix operator checks for containers whose value_type equals themselves.
It does  not make sense to recurse on value_type in that case. Thanks to
std::disjunction having short-circuiting semantics, we can avoid that
issue by checking first whether T is T::value_type.

As a drive-by, check for value_type typedef before checking for
begin/end in is_container. This works around an issue in gcc <= 8.1,
which fails to correctly SFINAE the case where begin and end are private
methods.

Pick-to: 6.0 6.1
Fixes: QTBUG-89456
Change-Id: I27305a7cfe050f13a279c07f00bc229c01daa25b
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2021-03-25 11:22:29 +01: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 QConcatenateTablesProxyModel: skip dataChanged in hidden columns 2021-03-09 13:39:45 +01:00
kernel QTypeInfo: Handle T::value_type being equal to T 2021-03-25 11:22:29 +01: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 macOS: Be honest about the system locale 2021-02-11 15:01:45 +01:00
thread Fix warning about virtual override 2021-03-05 15:51:41 +01:00
time Extend system zone test to check it matches LocalTime 2021-03-18 15:30:48 +01:00
tools Rename QList test to something meaningful 2021-03-18 08:31:38 +01:00
CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00