Skip to content

Commit 162f43d

Browse files
jensmaurerzygoloid
authored andcommitted
[algorithm.syn] Improve linebreaking.
1 parent dc81e49 commit 162f43d

File tree

1 file changed

+11
-22
lines changed

1 file changed

+11
-22
lines changed

source/algorithms.tex

+11-22
Original file line numberDiff line numberDiff line change
@@ -832,15 +832,13 @@
832832
template<@\libconcept{input_iterator}@ I1, @\libconcept{sentinel_for}@<I1> S1, @\libconcept{forward_iterator}@ I2, sentinel_for<I2> S2,
833833
class Pred = ranges::equal_to, class Proj1 = identity, class Proj2 = identity>
834834
requires @\libconcept{indirectly_comparable}@<I1, I2, Pred, Proj1, Proj2>
835-
constexpr I1 find_first_of(I1 first1, S1 last1, I2 first2, S2 last2,
836-
Pred pred = {},
835+
constexpr I1 find_first_of(I1 first1, S1 last1, I2 first2, S2 last2, Pred pred = {},
837836
Proj1 proj1 = {}, Proj2 proj2 = {});
838837
template<@\libconcept{input_range}@ R1, @\libconcept{forward_range}@ R2,
839838
class Pred = ranges::equal_to, class Proj1 = identity, class Proj2 = identity>
840839
requires @\libconcept{indirectly_comparable}@<iterator_t<R1>, iterator_t<R2>, Pred, Proj1, Proj2>
841840
constexpr borrowed_iterator_t<R1>
842-
find_first_of(R1&& r1, R2&& r2,
843-
Pred pred = {},
841+
find_first_of(R1&& r1, R2&& r2, Pred pred = {},
844842
Proj1 proj1 = {}, Proj2 proj2 = {});
845843
}
846844

@@ -1097,8 +1095,7 @@
10971095
template<class ForwardIterator, class Size, class T, class BinaryPredicate>
10981096
constexpr ForwardIterator
10991097
search_n(ForwardIterator first, ForwardIterator last,
1100-
Size count, const T& value,
1101-
BinaryPredicate pred);
1098+
Size count, const T& value, BinaryPredicate pred);
11021099
template<class ExecutionPolicy, class ForwardIterator, class Size, class T>
11031100
ForwardIterator
11041101
search_n(ExecutionPolicy&& exec, // see \ref{algorithms.parallel.overloads}
@@ -1840,22 +1837,18 @@
18401837
}
18411838

18421839
template<class RandomAccessIterator>
1843-
constexpr void partial_sort(RandomAccessIterator first,
1844-
RandomAccessIterator middle,
1840+
constexpr void partial_sort(RandomAccessIterator first, RandomAccessIterator middle,
18451841
RandomAccessIterator last);
18461842
template<class RandomAccessIterator, class Compare>
1847-
constexpr void partial_sort(RandomAccessIterator first,
1848-
RandomAccessIterator middle,
1843+
constexpr void partial_sort(RandomAccessIterator first, RandomAccessIterator middle,
18491844
RandomAccessIterator last, Compare comp);
18501845
template<class ExecutionPolicy, class RandomAccessIterator>
18511846
void partial_sort(ExecutionPolicy&& exec, // see \ref{algorithms.parallel.overloads}
1852-
RandomAccessIterator first,
1853-
RandomAccessIterator middle,
1847+
RandomAccessIterator first, RandomAccessIterator middle,
18541848
RandomAccessIterator last);
18551849
template<class ExecutionPolicy, class RandomAccessIterator, class Compare>
18561850
void partial_sort(ExecutionPolicy&& exec, // see \ref{algorithms.parallel.overloads}
1857-
RandomAccessIterator first,
1858-
RandomAccessIterator middle,
1851+
RandomAccessIterator first, RandomAccessIterator middle,
18591852
RandomAccessIterator last, Compare comp);
18601853

18611854
namespace ranges {
@@ -6975,8 +6968,7 @@
69756968

69766969
\indexlibraryglobal{partition_copy}%
69776970
\begin{itemdecl}
6978-
template<class InputIterator, class OutputIterator1,
6979-
class OutputIterator2, class Predicate>
6971+
template<class InputIterator, class OutputIterator1, class OutputIterator2, class Predicate>
69806972
constexpr pair<OutputIterator1, OutputIterator2>
69816973
partition_copy(InputIterator first, InputIterator last,
69826974
OutputIterator1 out_true, OutputIterator2 out_false, Predicate pred);
@@ -7357,8 +7349,7 @@
73577349

73587350
\indexlibraryglobal{set_union}%
73597351
\begin{itemdecl}
7360-
template<class InputIterator1, class InputIterator2,
7361-
class OutputIterator>
7352+
template<class InputIterator1, class InputIterator2, class OutputIterator>
73627353
constexpr OutputIterator
73637354
set_union(InputIterator1 first1, InputIterator1 last1,
73647355
InputIterator2 first2, InputIterator2 last2,
@@ -7371,8 +7362,7 @@
73717362
ForwardIterator2 first2, ForwardIterator2 last2,
73727363
ForwardIterator result);
73737364

7374-
template<class InputIterator1, class InputIterator2,
7375-
class OutputIterator, class Compare>
7365+
template<class InputIterator1, class InputIterator2, class OutputIterator, class Compare>
73767366
constexpr OutputIterator
73777367
set_union(InputIterator1 first1, InputIterator1 last1,
73787368
InputIterator2 first2, InputIterator2 last2,
@@ -8357,8 +8347,7 @@
83578347
Compare comp);
83588348
template<class ExecutionPolicy, class ForwardIterator, class Compare>
83598349
ForwardIterator min_element(ExecutionPolicy&& exec,
8360-
ForwardIterator first, ForwardIterator last,
8361-
Compare comp);
8350+
ForwardIterator first, ForwardIterator last, Compare comp);
83628351

83638352
template<@\libconcept{forward_iterator}@ I, @\libconcept{sentinel_for}@<I> S, class Proj = identity,
83648353
@\libconcept{indirect_strict_weak_order}@<projected<I, Proj>> Comp = ranges::less>

0 commit comments

Comments
 (0)