qt6-bb10/tests/auto/corelib/tools
Fabian Kosmale 722c7edf03 QHash: Unconceptify heterogeneous search code
That allows the code to run in C++17 mode - at the expense of
significantly worse compile time error messages, potentially worse
compilation speed and harder to read code.

Adjust the test type to actually model
detail::is_equality_comparable_with (which requires all four
relational operators even in C++17).

As a drive-by, fix the return value of remove() from auto to bool.

Done-with: Marc Mutz <marc.mutz@qt.io>
Fixes: QTBUG-128470
Change-Id: I68df26db579c60812a18e09b76dd5712e73ccaa2
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 7fe3cee36352c74cbaaff52e863bd0da1170affa)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-06 15:55:07 +00:00
..
collections
containerapisymmetry QHash: adapt to C++20 ranges not offering operator->() 2024-08-20 01:28:02 +00:00
qalgorithms
qarraydata
qatomicscopedvaluerollback
qbitarray Tests: disable various compiler warnings 2024-07-12 00:48:40 +00:00
qcache
qcommandlineparser
qcontiguouscache
qcryptographichash
qduplicatetracker
qeasingcurve
qexplicitlyshareddatapointer
qexplicitlyshareddatapointerv2 QExplicitlySharedDataPointerV2: Add unit-tests 2024-07-16 15:37:55 +00:00
qflatmap
qfreelist
qhash QHash: Unconceptify heterogeneous search code 2024-09-06 15:55:07 +00:00
qhashfunctions Fix QT_SUPPORTS_INT128 checks 2024-08-07 19:57:04 +00:00
qhashseed
qline Tests: suppress has_denorm deprecation 2024-09-06 14:38:21 +00:00
qlist tst_QList: port away from qsnprintf() 2024-07-22 21:00:13 +00:00
qmacautoreleasepool
qmakearray
qmap
qmargins
qmessageauthenticationcode
qoffsetstringarray QOffsetStringArray: fix off-by-one error for the past-the-end elements 2024-07-25 20:06:41 +00:00
qpair
qpoint
qpointf
qqueue
qrect
qringbuffer
qscopedpointer
qscopedvaluerollback
qscopeguard
qset
qsharedpointer Don't increase the refcount if qobject_cast failed 2024-09-05 12:29:51 +00:00
qsize
qsizef
qspan
qstl
qtaggedpointer
qtimeline
qtyperevision
quniquehandle
qvarlengtharray
qversionnumber
CMakeLists.txt QExplicitlySharedDataPointerV2: Add unit-tests 2024-07-16 15:37:55 +00:00