Skip to content

Commit 46e5311

Browse files
committed
Add omitted reduce signatures to synopsis
1 parent d41b90f commit 46e5311

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

algorithms.html

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,11 +508,24 @@ <h1>Header <code>&lt;experimental/numeric&gt;</code> synopsis</h1>
508508
template&lt;class InputIterator&gt;
509509
typename iterator_traits&lt;InputIterator&gt;::value_type
510510
reduce(InputIterator first, InputIterator last);
511+
<ins>template&lt;class ExecutionPolicy,
512+
InputIterator&gt;
513+
typename iterator_traits&lt;InputIterator&gt;::value_type
514+
reduce(ExecutionPolicy&amp;&amp; exec,
515+
InputIterator first, InputIterator last);</ins>
511516
template&lt;class InputIterator, class T&gt;
512-
T reduce(InputIterator first, InputIterator last<ins>,</ins> T init);
517+
T reduce(InputIterator first, InputIterator last, T init);
518+
<ins>template&lt;class ExecutionPolicy,
519+
class InputIterator, class T&gt;
520+
T reduce(ExecutionPolicy&amp;&amp; exec,
521+
InputIterator first, InputIterator last, T init);</ins>
513522
template&lt;class InputIterator, class T, class BinaryOperation&gt;
514523
T reduce(InputIterator first, InputIterator last, T init,
515524
BinaryOperation binary_op);
525+
<ins>template&lt;class ExecutionPolicy, class InputIterator, class T, class BinaryOperation&gt;
526+
T reduce(ExecutionPolicy&amp;&amp; exec,
527+
InputIterator first, InputIterator last, T init,
528+
BinaryOperation binary_op);</ins>
516529

517530
template&lt;class InputIterator, class OutputIterator,
518531
class T&gt;

0 commit comments

Comments
 (0)