This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of C++20 status.
Section: 25.3.5 [algorithms.parallel.overloads] Status: C++20 Submitter: Billy O'Neal III Opened: 2018-02-07 Last modified: 2021-02-25
View all issues with C++20 status.
Our compiler throughput friends were hissing at us about throughput regressions in C++17 mode caused by the addition of the parallel algorithms' signatures. One change to reduce the throughput impact would be to remove unnecessary decay here, as LWG has done in other places recently.
[ 2018-02-13 Moved to Tentatively Ready after 7 positive votes on c++std-lib. ]
[2018-06 Rapperswil: Adopted]
This wording is relative to N4713.
Modify 25.3.5 [algorithms.parallel.overloads] as indicated:
-4- Parallel algorithms shall not participate in overload resolution unless is_execution_policy_v<
decay_t<ExecutionPolicy>> is true.