qt6-bb10/tests/auto/corelib
Marc Mutz 089263fd4f QDirListing: make end() return a sentinel
This simplifies the implementation, and is more secure, because you no
longer can compare const_iterator with const_iterator and get a
non-sensical result (unequal, even though copies of each other).

Requires the STL algorithm test to be ported to C++20 ranges, because
classical STL algorithms can't deal with decltype(first) !=
decltype(last).

Found in API-review.

As a drive-by, make the reversed and inverted operators conditional on
!__cpp_impl_three_way_comparison.

Change-Id: Icd0e4dac277bd3b053f7b648f8c3f9d9f3753299
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
(cherry picked from commit 2569ca0f34fe15a2e5c828b708f1406be8d53836)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-03 18:06:32 +00:00
..
animation Change license for tests files 2024-02-04 09:56:42 +01:00
global Revert "Convert a Qt ordering type to the weaker std ordering type" 2024-09-02 18:10:39 +00:00
io QDirListing: make end() return a sentinel 2024-09-03 18:06:32 +00:00
ipc ipctestcommon.h: port away from qsnprintf() 2024-07-30 16:47:32 +00:00
itemmodels QIdentityProxyModel: add setHandleSourceDataChanges(bool) 2024-08-12 20:18:41 +00:00
kernel JNI: Add test coverage for a jobjectArray in a native function 2024-09-02 18:10:38 +00:00
mimetypes Update tika-mimetypes.xml from upstream 2024-08-29 04:16:36 +00:00
platform Android: Add Java QtAbstractItemModel auto test 2024-08-20 01:28:03 +00:00
plugin QLibrary/Unix: update the x86-64-v3 prefix path in our search 2024-07-11 08:27:24 +00:00
serialization Fix users of static max_size() 2024-08-31 08:56:31 +00:00
text String Views: add slice() methods 2024-08-28 17:40:05 +00:00
thread QThread/Unix: fix normal exit/terminate() race 2024-07-11 08:27:17 +00:00
time Rename new QTZ::aliasMatches to hasAlternativeName 2024-08-27 16:38:19 +00:00
tools QHash: adapt to C++20 ranges not offering operator->() 2024-08-20 01:28:02 +00:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00