|
| 1 | +<?xml version='1.0' encoding='utf-8' standalone='no'?> |
| 2 | +<!DOCTYPE issue SYSTEM "lwg-issue.dtd"> |
| 3 | + |
| 4 | +<issue num="4463" status="New"> |
| 5 | +<title>Change wording to 'model' from 'subsumes' in [algorithms.parallel.user]</title> |
| 6 | +<section><sref ref="[algorithms.parallel.user]"/></section> |
| 7 | +<submitter>Ruslan Arutyunyan</submitter> |
| 8 | +<date>07 Nov 2025</date> |
| 9 | +<priority>99</priority> |
| 10 | + |
| 11 | +<discussion> |
| 12 | +<b>Addresses <a href="https://github.com/cplusplus/nbballot/issues/828">US 155-253</a></b> |
| 13 | +<p> |
| 14 | +“Subsumes” word does not work here because `regular_invocable` and `invocable` subsume each other. |
| 15 | +<p/> |
| 16 | +Proposed change: Say that the type is required to model `regular_invocable`. |
| 17 | +</p> |
| 18 | +</discussion> |
| 19 | + |
| 20 | +<resolution> |
| 21 | +<p> |
| 22 | +This wording is relative to <paper num="N5014"/>. |
| 23 | +</p> |
| 24 | + |
| 25 | +<ol> |
| 26 | +<li><p>Modify <sref ref="[algorithms.parallel.user]"/>, as indicated:</p> |
| 27 | + |
| 28 | +<blockquote> |
| 29 | +<p> |
| 30 | +-1- Unless otherwise specified, invocable objects passed into parallel algorithms as objects of a |
| 31 | +type denoted by a template parameter named `Predicate`, `BinaryPredicate`, `Compare`, |
| 32 | +`UnaryOperation`, `BinaryOperation`, `BinaryOperation1`, `BinaryOperation2`, `BinaryDivideOp`, |
| 33 | +or constrained by a concept<ins>, which semantic requirements impose</ins> that |
| 34 | +<del>subsumes</del><ins>the type models</ins> `regular_invocable` and the operators used by the |
| 35 | +analogous overloads to these parallel algorithms that are formed by an invocation with the |
| 36 | +specified default predicate or operation (where applicable) shall not directly |
| 37 | +or indirectly modify objects via their arguments, nor shall they rely on the identity of the |
| 38 | +provided objects. |
| 39 | +</p> |
| 40 | +</blockquote> |
| 41 | +</li> |
| 42 | +</ol> |
| 43 | + |
| 44 | +</resolution> |
| 45 | + |
| 46 | +</issue> |
0 commit comments