qt6-bb10/tests/auto/corelib
Marc Mutz 94e122c594 QSpan: make adl_begin() etc SFINAE-friendly
The definition of iterator_t, and, therefore, of is_compatible_range
depends on this, otherwise say, 0, is being treated as a valid range
and hits a hard error in adl_begin() when trying to call begin(int&).

TIL: decltype(auto) does _not_ SFINAE.

Fix by calculating the return type manually, re-enabing SFINAE.

Pick-to: 6.7 6.6
Change-Id: Icacd70554f4050ecaeb396c9ae60bc4f21a220c9
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2024-01-26 23:50:57 +01:00
..
animation Tests: remove blacklisted CIs no longer available 2023-12-06 22:07:44 +01:00
global Un-blacklist QMessageLogger backtrace tests for b2qt 64bit 2024-01-22 17:51:56 +01:00
io Add VxWorks to skip condition when utimensat function is required 2024-01-24 19:41:08 +01:00
ipc Skip tst_QSharedMemory::useTooMuchMemory 2023-12-22 17:01:01 +02:00
itemmodels Introduce macros to simplify testing comparison 2024-01-19 12:58:57 +00:00
kernel moc/QMetaProperty: Remove limitation on non-own-class notify signals 2024-01-26 14:51:35 +01:00
mimetypes QMimeDataBase: Remove dead code 2024-01-16 22:56:44 +01:00
platform Android: Add a context delegate for embedding QML to native Android 2024-01-21 15:46:30 +02:00
plugin Resurrect tests/auto/corelib/plugin/qpluginloader/machtest 2024-01-10 00:44:34 +01:00
serialization QDataStream: add a new SizeLimitExceeded status code 2024-01-26 15:10:16 +01:00
text tst_QStringView: don't go through the QString constructor 2024-01-14 17:49:12 -08:00
thread QFuture: Don't use QFutureCallOutInterface for continuations 2023-12-13 21:54:00 +01:00
time Introduce macros to simplify testing comparison 2024-01-19 12:58:57 +00:00
tools QSpan: make adl_begin() etc SFINAE-friendly 2024-01-26 23:50:57 +01:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00