File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -158,8 +158,8 @@ <h1><code>ExecutionPolicy</code> algorithm overloads</h1>
158
158
</ p >
159
159
160
160
< p >
161
- Parallel algorithms have the requirement < code > is_execution_policy<ExecutionPolicy>::value </ code >
162
- is < code > true</ code > .
161
+ Parallel algorithms shall not participate in overload resolution unless
162
+ < code > is_execution_policy<ExecutionPolicy>::value </ code > is < code > true</ code > .
163
163
</ p >
164
164
165
165
< p > The algorithms listed in < cxx-ref to ="tab.parallel.algorithms "> </ cxx-ref > shall have < code > ExecutionPolicy</ code > overloads.</ p >
Original file line number Diff line number Diff line change @@ -193,7 +193,10 @@ <h1><code>execution_policy</code> construct/assign</h1>
193
193
194
194
< cxx-effects > Constructs an < code > execution_policy</ code > object with a copy of < code > exec</ code > 's state.</ cxx-effects >
195
195
196
- < cxx-requires > < code > is_execution_policy<T>::value</ code > is < code > true</ code > .</ cxx-requires >
196
+ < cxx-remarks >
197
+ This constructor shall not participate in overload resolution unless
198
+ < code > is_execution_policy<T>::value</ code > is < code > true</ code > .
199
+ </ cxx-remarks >
197
200
</ cxx-function >
198
201
199
202
< cxx-function >
@@ -203,7 +206,10 @@ <h1><code>execution_policy</code> construct/assign</h1>
203
206
204
207
< cxx-returns > < code > *this</ code > .
205
208
206
- < cxx-requires > < code > is_execution_policy<T>::value</ code > is < code > true</ code > .</ cxx-requires >
209
+ < cxx-remarks >
210
+ This operator shall not partipate in overload resolution uless
211
+ < code > is_execution_policy<T>::value</ code > is < code > true</ code > .
212
+ </ cxx-remarks >
207
213
</ cxx-function >
208
214
</ cxx-section >
209
215
@@ -226,7 +232,10 @@ <h1><code>execution_policy</code> object access</h1>
226
232
227
233
< cxx-returns > If < code > target_type() == typeid(T)</ code > , a pointer to the stored execution policy object; otherwise a null pointer.</ cxx-returns >
228
234
229
- < cxx-requires > < code > is_execution_policy<T></ code > is < code > true</ code > .</ cxx-requires >
235
+ < cxx-remarks >
236
+ This function shall not participate in overload resolution unless
237
+ < code > is_execution_policy<T></ code > is < code > true</ code > .
238
+ </ cxx-remarks >
230
239
</ cxx-function >
231
240
232
241
</ cxx-section >
You can’t perform that action at this time.
0 commit comments