Skip to content

Commit a3a2db7

Browse files
committed
Flatten diffs in [parallel.alg.ops.synopsis]
1 parent 01f5dfa commit a3a2db7

File tree

1 file changed

+3
-23
lines changed

1 file changed

+3
-23
lines changed

algorithms.html

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -107,26 +107,10 @@ <h1>Non-Numeric Parallel Algorithms</h1>
107107
<h1>Header <code>&lt;experimental/algorithm&gt;</code> synopsis</h1>
108108

109109
<pre>
110-
<ins>#include &lt;algorithm&gt;
111-
</ins>
112-
<del>namespace std {</del>
113-
namespace <ins>std::</ins>experimental {
114-
<ins>inline </ins>namespace parallel<ins>ism_v2</ins> {
115-
<del>inline namespace v2 {
116-
template&lt;class ExecutionPolicy,
117-
class InputIterator, class Function&gt;
118-
void for_each(ExecutionPolicy&amp;&amp; exec,
119-
InputIterator first, InputIterator last,
120-
Function f);
121-
template&lt;class InputIterator, class Size, class Function&gt;
122-
InputIterator for_each_n(InputIterator first, Size n,
123-
Function f);
124-
template&lt;class ExecutionPolicy,
125-
class InputIterator, class Size, class Function&gt;
126-
InputIterator for_each_n(ExecutionPolicy&amp;&amp; exec,
127-
InputIterator first, Size n,
128-
Function f);</del>
110+
#include &lt;algorithm&gt;
129111

112+
namespace std::experimental {
113+
inline namespace parallelism_v2 {
130114
namespace execution {
131115
<cxx-ref insynopsis="" to="parallel.alg.novec"></cxx-ref>
132116
template&lt;class F&gt;
@@ -140,7 +124,6 @@ <h1>Header <code>&lt;experimental/algorithm&gt;</code> synopsis</h1>
140124
template&lt;class T&gt;
141125
ordered_update_t&lt;T&gt; ordered_update(T&amp; ref) noexcept;
142126
}
143-
<ins>
144127

145128
// Exposition only: Suppress template argument deduction.
146129
template&lt;class T&gt; struct no_deduce { using type = T; };
@@ -197,11 +180,8 @@ <h1>Header <code>&lt;experimental/algorithm&gt;</code> synopsis</h1>
197180
class I, class Size, class S, class... Rest&gt;
198181
void for_loop_n_strided(ExecutionPolicy&amp;&amp; exec,
199182
I start, Size n, S stride, Rest&amp;&amp;... rest);
200-
</ins>
201-
<del>}</del>
202183
}
203184
}
204-
<del>}</del>
205185
</pre>
206186
</cxx-section>
207187

0 commit comments

Comments
 (0)