@@ -389,13 +389,11 @@ <h1>Header <code><experimental/algorithm></code> synopsis</h1>
389
389
< h1 > For each</ h1 >
390
390
391
391
< cxx-function >
392
- < cxx-signature >
393
- template<class ExecutionPolicy,
394
- class InputIterator, class Function>
395
- void for_each(ExecutionPolicy&& exec,
396
- InputIterator first, InputIterator last,
397
- Function f);
398
- </ cxx-signature >
392
+ < cxx-signature > template<class ExecutionPolicy,
393
+ class InputIterator, class Function>
394
+ void for_each(ExecutionPolicy&& exec,
395
+ InputIterator first, InputIterator last,
396
+ Function f);</ cxx-signature >
399
397
400
398
< cxx-effects >
401
399
Applies < code > f</ code > to the result of dereferencing every iterator in the range < code > [first,last)</ code > .
@@ -426,11 +424,9 @@ <h1>For each</h1>
426
424
</ cxx-function >
427
425
428
426
< cxx-function >
429
- < cxx-signature >
430
- template<class InputIterator, class Size, class Function>
431
- InputIterator for_each_n(InputIterator first, Size n,
432
- Function f);
433
- </ cxx-signature >
427
+ < cxx-signature > template<class InputIterator, class Size, class Function>
428
+ InputIterator for_each_n(InputIterator first, Size n,
429
+ Function f);</ cxx-signature >
434
430
435
431
< cxx-requires >
436
432
< code > Function</ code > shall meet the requirements of < code > MoveConstructible</ code >
@@ -460,13 +456,11 @@ <h1>For each</h1>
460
456
</ cxx-function >
461
457
462
458
< cxx-function >
463
- < cxx-signature >
464
- template<class ExecutionPolicy,
465
- class InputIterator, class Size, class Function>
466
- InputIterator for_each_n(ExecutionPolicy && exec,
467
- InputIterator first, Size n,
468
- Function f);
469
- </ cxx-signature >
459
+ < cxx-signature > template<class ExecutionPolicy,
460
+ class InputIterator, class Size, class Function>
461
+ InputIterator for_each_n(ExecutionPolicy && exec,
462
+ InputIterator first, Size n,
463
+ Function f);</ cxx-signature >
470
464
471
465
< cxx-effects >
472
466
Applies < code > f</ code > to the result of dereferencing every iterator in the range
@@ -669,34 +663,28 @@ <h1>Header <code><experimental/numeric></code> synopsis</h1>
669
663
< h1 > Reduce</ h1 >
670
664
671
665
< cxx-function >
672
- < cxx-signature >
673
- template<class InputIterator>
674
- typename iterator_traits<InputIterator>::value_type
675
- reduce(InputIterator first, InputIterator last);
676
- </ cxx-signature >
666
+ < cxx-signature > template<class InputIterator>
667
+ typename iterator_traits<InputIterator>::value_type
668
+ reduce(InputIterator first, InputIterator last);</ cxx-signature >
677
669
678
670
< cxx-effects >
679
671
Same as < code > reduce(first, last, typename iterator_traits<InputIterator>::value_type{})</ code > .
680
672
</ cxx-effects >
681
673
</ cxx-function >
682
674
683
675
< cxx-function >
684
- < cxx-signature >
685
- template<class InputIterator, class T>
686
- T reduce(InputIterator first, InputIterator last, T init);
687
- </ cxx-signature >
676
+ < cxx-signature > template<class InputIterator, class T>
677
+ T reduce(InputIterator first, InputIterator last, T init);</ cxx-signature >
688
678
689
679
< cxx-effects >
690
680
Same as < code > reduce(first, last, init, plus<>())</ code > .
691
681
</ cxx-effects >
692
682
</ cxx-function >
693
683
694
684
< cxx-function >
695
- < cxx-signature >
696
- template<class InputIterator, class T, class BinaryOperation>
697
- T reduce(InputIterator first, InputIterator last, T init,
698
- BinaryOperation binary_op);
699
- </ cxx-signature >
685
+ < cxx-signature > template<class InputIterator, class T, class BinaryOperation>
686
+ T reduce(InputIterator first, InputIterator last, T init,
687
+ BinaryOperation binary_op);</ cxx-signature >
700
688
701
689
< cxx-returns >
702
690
< code > < em > GENERALIZED_SUM</ em > (binary_op, init, *first, ..., *(first + (last - first) - 1))</ code > .
@@ -722,29 +710,21 @@ <h1>Reduce</h1>
722
710
< h1 > Exclusive scan</ h1 >
723
711
724
712
< cxx-function >
725
- < cxx-signature >
726
- template<class InputIterator, class OutputIterator,
727
- class T>
728
- OutputIterator
729
- exclusive_scan(InputIterator first, InputIterator last,
730
- OutputIterator result,
731
- T init);
732
- </ cxx-signature >
713
+ < cxx-signature > template<class InputIterator, class OutputIterator, class T>
714
+ OutputIterator exclusive_scan(InputIterator first, InputIterator last,
715
+ OutputIterator result,
716
+ T init);</ cxx-signature >
733
717
734
718
< cxx-effects >
735
719
Same as < code > exclusive_scan(first, last, result, init, plus<>())</ code > .
736
720
</ cxx-effects >
737
721
</ cxx-function >
738
722
739
723
< cxx-function >
740
- < cxx-signature >
741
- template<class InputIterator, class OutputIterator,
742
- class T, class BinaryOperation>
743
- OutputIterator
744
- exclusive_scan(InputIterator first, InputIterator last,
745
- OutputIterator result,
746
- T init, BinaryOperation binary_op);
747
- </ cxx-signature >
724
+ < cxx-signature > template<class InputIterator, class OutputIterator, class T, class BinaryOperation>
725
+ OutputIterator exclusive_scan(InputIterator first, InputIterator last,
726
+ OutputIterator result,
727
+ T init, BinaryOperation binary_op);</ cxx-signature >
748
728
749
729
< cxx-effects >
750
730
Assigns through each iterator < code > i</ code > in < code > [result,result + (last - first))</ code > the
@@ -777,34 +757,24 @@ <h1>Exclusive scan</h1>
777
757
< h1 > Inclusive scan</ h1 >
778
758
779
759
< cxx-function >
780
- < cxx-signature >
781
- template<class InputIterator, class OutputIterator>
782
- OutputIterator
783
- inclusive_scan(InputIterator first, InputIterator last,
784
- OutputIterator result);
785
- </ cxx-signature >
760
+ < cxx-signature > template<class InputIterator, class OutputIterator>
761
+ OutputIterator inclusive_scan(InputIterator first, InputIterator last,
762
+ OutputIterator result);</ cxx-signature >
786
763
787
764
< cxx-effects >
788
765
Same as < code > inclusive_scan(first, last, result, plus<>())</ code > .
789
766
</ cxx-effects >
790
767
</ cxx-function >
791
768
792
769
< cxx-function >
793
- < cxx-signature >
794
- template<class InputIterator, class OutputIterator,
795
- class BinaryOperation>
796
- OutputIterator
797
- inclusive_scan(InputIterator first, InputIterator last,
798
- OutputIterator result,
799
- BinaryOperation binary_op);
800
-
801
- template<class InputIterator, class OutputIterator,
802
- class BinaryOperation>
803
- OutputIterator
804
- inclusive_scan(InputIterator first, InputIterator last,
805
- OutputIterator result,
806
- BinaryOperation binary_op, T init);
807
- </ cxx-signature >
770
+ < cxx-signature > template<class InputIterator, class OutputIterator, class BinaryOperation>
771
+ OutputIterator inclusive_scan(InputIterator first, InputIterator last,
772
+ OutputIterator result,
773
+ BinaryOperation binary_op);</ cxx-signature >
774
+ < cxx-signature > template<class InputIterator, class OutputIterator, class BinaryOperation>
775
+ OutputIterator inclusive_scan(InputIterator first, InputIterator last,
776
+ OutputIterator result,
777
+ BinaryOperation binary_op, T init);</ cxx-signature >
808
778
809
779
< cxx-effects >
810
780
Assigns through each iterator < code > i</ code > in < code > [result,result + (last - first))</ code > the value of
@@ -839,11 +809,9 @@ <h1>Inclusive scan</h1>
839
809
< h1 > Transform reduce</ h1 >
840
810
841
811
< cxx-function >
842
- < cxx-signature >
843
- template<class InputIterator, class UnaryFunction, class T, class BinaryOperation>
844
- T transform_reduce(InputIterator first, InputIterator last,
845
- UnaryOperation unary_op, T init, BinaryOperation binary_op);
846
- </ cxx-signature >
812
+ < cxx-signature > template<class InputIterator, class UnaryFunction, class T, class BinaryOperation>
813
+ T transform_reduce(InputIterator first, InputIterator last,
814
+ UnaryOperation unary_op, T init, BinaryOperation binary_op);</ cxx-signature >
847
815
848
816
< cxx-returns >
849
817
< code > < em > GENERALIZED_SUM</ em > (binary_op, init, unary_op(*first), ..., unary_op(*(first + (last - first) - 1)))</ code > .
@@ -867,16 +835,13 @@ <h1>Transform reduce</h1>
867
835
< h1 > Transform exclusive scan</ h1 >
868
836
869
837
< cxx-function >
870
- < cxx-signature >
871
- template<class InputIterator, class OutputIterator,
872
- class UnaryOperation,
873
- class T, class BinaryOperation>
874
- OutputIterator
875
- transform_exclusive_scan(InputIterator first, InputIterator last,
876
- OutputIterator result,
877
- UnaryOperation unary_op,
878
- T init, BinaryOperation binary_op);
879
- </ cxx-signature >
838
+ < cxx-signature > template<class InputIterator, class OutputIterator,
839
+ class UnaryOperation,
840
+ class T, class BinaryOperation>
841
+ OutputIterator transform_exclusive_scan(InputIterator first, InputIterator last,
842
+ OutputIterator result,
843
+ UnaryOperation unary_op,
844
+ T init, BinaryOperation binary_op);</ cxx-signature >
880
845
881
846
< cxx-effects >
882
847
Assigns through each iterator < code > i</ code > in < code > [result,result + (last - first))</ code > the value of
@@ -908,25 +873,21 @@ <h1>Transform exclusive scan</h1>
908
873
< h1 > Transform inclusive scan</ h1 >
909
874
910
875
< cxx-function >
911
- < cxx-signature >
912
- template<class InputIterator, class OutputIterator,
913
- class UnaryOperation,
914
- class BinaryOperation>
915
- OutputIterator
916
- transform_inclusive_scan(InputIterator first, InputIterator last,
917
- OutputIterator result,
918
- UnaryOperation unary_op,
919
- BinaryOperation binary_op);
920
-
921
- template<class InputIterator, class OutputIterator,
922
- class UnaryOperation,
923
- class BinaryOperation, class T>
924
- OutputIterator
925
- transform_inclusive_scan(InputIterator first, InputIterator last,
926
- OutputIterator result,
927
- UnaryOperation unary_op,
928
- BinaryOperation binary_op, T init);
929
- </ cxx-signature >
876
+ < cxx-signature > template<class InputIterator, class OutputIterator,
877
+ class UnaryOperation,
878
+ class BinaryOperation>
879
+ OutputIterator transform_inclusive_scan(InputIterator first, InputIterator last,
880
+ OutputIterator result,
881
+ UnaryOperation unary_op,
882
+ BinaryOperation binary_op);</ cxx-signature >
883
+
884
+ < cxx-signature > template<class InputIterator, class OutputIterator,
885
+ class UnaryOperation,
886
+ class BinaryOperation, class T>
887
+ OutputIterator transform_inclusive_scan(InputIterator first, InputIterator last,
888
+ OutputIterator result,
889
+ UnaryOperation unary_op,
890
+ BinaryOperation binary_op, T init);</ cxx-signature >
930
891
931
892
< cxx-effects >
932
893
Assigns through each iterator < code > i</ code > in < code > [result,result + (last - first))</ code > the value of
0 commit comments