Skip to content

Commit 1a55585

Browse files
jensmaurerzygoloid
authored andcommitted
[algorithm.syn] Improve linebreaking.
1 parent 66f59b9 commit 1a55585

File tree

1 file changed

+11
-22
lines changed

1 file changed

+11
-22
lines changed

source/algorithms.tex

Lines changed: 11 additions & 22 deletions
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 {
@@ -6964,8 +6957,7 @@
69646957

69656958
\indexlibraryglobal{partition_copy}%
69666959
\begin{itemdecl}
6967-
template<class InputIterator, class OutputIterator1,
6968-
class OutputIterator2, class Predicate>
6960+
template<class InputIterator, class OutputIterator1, class OutputIterator2, class Predicate>
69696961
constexpr pair<OutputIterator1, OutputIterator2>
69706962
partition_copy(InputIterator first, InputIterator last,
69716963
OutputIterator1 out_true, OutputIterator2 out_false, Predicate pred);
@@ -7346,8 +7338,7 @@
73467338

73477339
\indexlibraryglobal{set_union}%
73487340
\begin{itemdecl}
7349-
template<class InputIterator1, class InputIterator2,
7350-
class OutputIterator>
7341+
template<class InputIterator1, class InputIterator2, class OutputIterator>
73517342
constexpr OutputIterator
73527343
set_union(InputIterator1 first1, InputIterator1 last1,
73537344
InputIterator2 first2, InputIterator2 last2,
@@ -7360,8 +7351,7 @@
73607351
ForwardIterator2 first2, ForwardIterator2 last2,
73617352
ForwardIterator result);
73627353

7363-
template<class InputIterator1, class InputIterator2,
7364-
class OutputIterator, class Compare>
7354+
template<class InputIterator1, class InputIterator2, class OutputIterator, class Compare>
73657355
constexpr OutputIterator
73667356
set_union(InputIterator1 first1, InputIterator1 last1,
73677357
InputIterator2 first2, InputIterator2 last2,
@@ -8346,8 +8336,7 @@
83468336
Compare comp);
83478337
template<class ExecutionPolicy, class ForwardIterator, class Compare>
83488338
ForwardIterator min_element(ExecutionPolicy&& exec,
8349-
ForwardIterator first, ForwardIterator last,
8350-
Compare comp);
8339+
ForwardIterator first, ForwardIterator last, Compare comp);
83518340

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

0 commit comments

Comments
 (0)