Skip to content

Commit 4306e35

Browse files
committed
Integrate P0776R1's changes to <experimental/algorithm>'s synopsis
1 parent 68f0ce4 commit 4306e35

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

algorithms.html

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -488,10 +488,12 @@ <h1>Non-Numeric Parallel Algorithms</h1>
488488
<h1>Header <code>&lt;experimental/algorithm&gt;</code> synopsis</h1>
489489

490490
<pre>
491-
namespace std {
492-
namespace experimental {
493-
namespace parallel {
494-
inline namespace v2 {
491+
<ins>#include &lt;algorithm&gt;
492+
</ins>
493+
<del>namespace std {</del>
494+
namespace <ins>std::</ins>experimental {
495+
<ins>inline </ins>namespace parallel<ins>ism_v2</ins> {
496+
<del>inline namespace v2 {
495497
template&lt;class ExecutionPolicy,
496498
class InputIterator, class Function&gt;
497499
void for_each(ExecutionPolicy&amp;&amp; exec,
@@ -504,7 +506,7 @@ <h1>Header <code>&lt;experimental/algorithm&gt;</code> synopsis</h1>
504506
class InputIterator, class Size, class Function&gt;
505507
InputIterator for_each_n(ExecutionPolicy&amp;&amp; exec,
506508
InputIterator first, Size n,
507-
Function f);
509+
Function f);</del>
508510

509511
namespace execution {
510512
<cxx-ref insynopsis="" to="parallel.alg.novec"></cxx-ref>
@@ -519,10 +521,10 @@ <h1>Header <code>&lt;experimental/algorithm&gt;</code> synopsis</h1>
519521
template&lt;class T&gt;
520522
ordered_update_t&lt;T&gt; ordered_update(T&amp; ref) noexcept;
521523
}
524+
<del>}</del>
522525
}
523526
}
524-
}
525-
}
527+
<del>}</del>
526528
</pre>
527529
</cxx-section>
528530

0 commit comments

Comments
 (0)