@@ -550,20 +550,24 @@ <h1>Reduce</h1>
550
550
</ cxx-returns >
551
551
552
552
< cxx-requires >
553
- < code > typename iterator_traits<InputIterator>::value_type{}</ code >
554
- shall be a valid expression. The < code > operator+</ code > function associated with
555
- < code > iterator_traits<InputIterator>::value_type</ code > shall not invalidate iterators or
556
- subranges, nor modify elements in the range < code > [first,last)</ code > .
553
+ < del2 >
554
+ < code > typename iterator_traits<InputIterator>::value_type{}</ code >
555
+ shall be a valid expression. The < code > operator+</ code > function associated with
556
+ < code > iterator_traits<InputIterator>::value_type</ code > shall not invalidate iterators or
557
+ subranges, nor modify elements in the range < code > [first,last)</ code > .
558
+ </ del2 >
557
559
</ cxx-requires >
558
560
559
561
< cxx-complexity >
560
- O(< code > last - first</ code > ) applications of < code > operator+</ code > .
562
+ < del2 > O(< code > last - first</ code > ) applications of < code > operator+</ code > .</ del2 >
561
563
</ cxx-complexity >
562
564
563
565
< cxx-notes >
564
- The primary difference between < code > reduce</ code > and < code > accumulate</ code > is that the behavior
565
- of < code > reduce</ code > may be non-deterministic for non-associative or non-commutative
566
- < code > operator+</ code > .
566
+ < del2 >
567
+ The primary difference between < code > reduce</ code > and < code > accumulate</ code > is that the behavior
568
+ of < code > reduce</ code > may be non-deterministic for non-associative or non-commutative
569
+ < code > operator+</ code > .
570
+ </ del2 >
567
571
</ cxx-notes >
568
572
</ cxx-function >
569
573
@@ -578,17 +582,21 @@ <h1>Reduce</h1>
578
582
</ cxx-returns >
579
583
580
584
< cxx-requires >
581
- The < code > operator+</ code > function associated with < code > T</ code > shall not invalidate iterators
582
- or subranges, nor modify elements in the range < code > [first,last)</ code > .
585
+ < del2 >
586
+ The < code > operator+</ code > function associated with < code > T</ code > shall not invalidate iterators
587
+ or subranges, nor modify elements in the range < code > [first,last)</ code > .
588
+ </ del2 >
583
589
</ cxx-requires >
584
590
585
591
< cxx-complexity >
586
- O(< code > last - first</ code > ) applications of < code > operator+</ code > .
592
+ < del2 > O(< code > last - first</ code > ) applications of < code > operator+</ code > .</ del2 >
587
593
</ cxx-complexity >
588
594
589
595
< cxx-notes >
590
- The primary difference between < code > reduce</ code > and < code > accumulate</ code > is that the behavior
591
- of < code > reduce</ code > may be non-deterministic for non-associative or non-commutative < code > operator+</ code > .
596
+ < del2 >
597
+ The primary difference between < code > reduce</ code > and < code > accumulate</ code > is that the behavior
598
+ of < code > reduce</ code > may be non-deterministic for non-associative or non-commutative < code > operator+</ code > .
599
+ </ del2 >
592
600
</ cxx-notes >
593
601
</ cxx-function >
594
602
0 commit comments