qt6-bb10/tests/auto/concurrent/qtconcurrentmap
Sona Kurazyan d5c53554e5 Loosen the requirements on the container passed to QtConcurrent::map*
Using std::begin() and std::end() forces the user to have const begin()
and end() member functions being defined for the passed container. This
is because std::declval<T>() returns rvalue which forces the compiler
to select std::{begin, end}()(const Container &c) overloads and an test
for a presence of const {begin, end}() methods.

Change-Id: I9d96d9f73891ece53224f1741a1334500f7b35ad
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2020-10-13 09:49:51 +02:00
..
.gitignore Move QtConcurrent into its own module 2012-02-05 17:49:16 +01:00
.prev_CMakeLists.txt CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
CMakeLists.txt CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
functions.h Loosen the requirements on the container passed to QtConcurrent::map* 2020-10-13 09:49:51 +02:00
qtconcurrentmap.pro Remove QLinkedList 2020-02-19 21:01:07 +01:00
tst_qtconcurrentmap.cpp Add unit tests to assure QtConcurrent works on move-only sequences 2020-10-07 19:19:30 +02:00