File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -645,20 +645,24 @@ <h1>Exclusive scan</h1>
645
645
</ cxx-returns >
646
646
647
647
< cxx-requires >
648
- The < code > operator+</ code > function associated with < code > iterator_traits<InputIterator>::value_type</ code > shall
649
- not invalidate iterators or subranges, nor modify elements in the ranges < code > [first,last)</ code > or
650
- < code > [result,result + (last - first))</ code > .
648
+ < del2 >
649
+ The < code > operator+</ code > function associated with < code > iterator_traits<InputIterator>::value_type</ code > shall
650
+ not invalidate iterators or subranges, nor modify elements in the ranges < code > [first,last)</ code > or
651
+ < code > [result,result + (last - first))</ code > .
652
+ </ del2 >
651
653
</ cxx-requires >
652
654
653
655
< cxx-complexity >
654
- O(< code > last - first</ code > ) applications of < code > operator+</ code > .
656
+ < del2 > O(< code > last - first</ code > ) applications of < code > operator+</ code > .</ del2 >
655
657
</ cxx-complexity >
656
658
657
659
< cxx-notes >
658
- The primary difference between < code > exclusive_scan</ code > and < code > inclusive_scan</ code > is that
659
- < code > exclusive_scan</ code > excludes the < code > i</ code > th input element from the < code > i</ code > th sum.
660
- If the < code > operator+</ code > function is not mathematically associative, the behavior of
661
- < code > exclusive_scan</ code > may be non-deterministic.
660
+ < del2 >
661
+ The primary difference between < code > exclusive_scan</ code > and < code > inclusive_scan</ code > is that
662
+ < code > exclusive_scan</ code > excludes the < code > i</ code > th input element from the < code > i</ code > th sum.
663
+ If the < code > operator+</ code > function is not mathematically associative, the behavior of
664
+ < code > exclusive_scan</ code > may be non-deterministic.
665
+ </ del2 >
662
666
</ cxx-notes >
663
667
</ cxx-function >
664
668
You can’t perform that action at this time.
0 commit comments