This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of Immediate status.
Section: 26.3.2 [algorithms.parallel.user] Status: Immediate Submitter: Ruslan Arutyunyan Opened: 2025-11-07 Last modified: 2025-11-07
Priority: Not Prioritized
View all issues with Immediate status.
Discussion:
Addresses US 155-253
“Subsumes” word does not work here because regular_invocable and invocable subsume each other.
regular_invocable.
[Kona 2025-11-07; approved by LWG. Status changed: New → Immediate.]
Proposed resolution:
This wording is relative to N5014.
Modify 26.3.2 [algorithms.parallel.user], as indicated:
-1- Unless otherwise specified, invocable objects passed into parallel algorithms as objects of a type denoted by a template parameter named
Predicate,BinaryPredicate,Compare,UnaryOperation,BinaryOperation,BinaryOperation1,BinaryOperation2,BinaryDivideOp, or constrained by a concept whose semantic requirements include thatsubsumesthe type modelsregular_invocableand the operators used by the analogous overloads to these parallel algorithms that are formed by an invocation with the specified default predicate or operation (where applicable) shall not directly or indirectly modify objects via their arguments, nor shall they rely on the identity of the provided objects.