Title
Unnecessary decay_t in is_execution_policy_v should be remove_cvref_t
Status
c++20
Section
[algorithms.parallel.overloads]
Submitter
Billy O'Neal III

Created on 2018-02-07.00:00:00 last changed 45 months ago

Messages

Date: 2018-06-12.01:05:16

Proposed resolution:

This wording is relative to N4713.

  1. Modify [algorithms.parallel.overloads] as indicated:

    -4- Parallel algorithms shall not participate in overload resolution unless is_execution_policy_v<decayremove_cvref_t<ExecutionPolicy>> is true.

Date: 2018-06-12.01:05:16

[ 2018-06 Rapperswil: Adopted ]

Date: 2018-02-13.00:00:00

[ 2018-02-13 Moved to Tentatively Ready after 7 positive votes on c++std-lib. ]

Date: 2018-02-07.00:00:00

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.

History
Date User Action Args
2021-02-25 10:48:01adminsetstatus: wp -> c++20
2018-06-12 01:05:16adminsetmessages: + msg9882
2018-06-12 01:05:16adminsetstatus: voting -> wp
2018-05-06 19:23:13adminsetstatus: ready -> voting
2018-02-13 19:42:20adminsetmessages: + msg9680
2018-02-13 19:42:20adminsetstatus: new -> ready
2018-02-08 19:23:45adminsetmessages: + msg9676
2018-02-07 00:00:00admincreate