Skip to content

Commit 32eba2f

Browse files
committed
[algorithm] Page breaks
1 parent d737db5 commit 32eba2f

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

source/algorithms.tex

+19-1
Original file line numberDiff line numberDiff line change
@@ -903,6 +903,7 @@
903903
@\libconcept{indirect_unary_predicate}@<projected<I, Proj>> Pred>
904904
constexpr iter_difference_t<I>
905905
count_if(I first, S last, Pred pred, Proj proj = {});
906+
@\newpage@
906907
template<@\libconcept{input_range}@ R, class Proj = identity,
907908
@\libconcept{indirect_unary_predicate}@<projected<iterator_t<R>, Proj>> Pred>
908909
constexpr range_difference_t<R>
@@ -2354,6 +2355,7 @@
23542355
ForwardIterator1 first1, ForwardIterator1 last1,
23552356
ForwardIterator2 first2, ForwardIterator2 last2,
23562357
ForwardIterator result);
2358+
@\newpage@
23572359
template<class ExecutionPolicy, class ForwardIterator1, class ForwardIterator2,
23582360
class ForwardIterator, class Compare>
23592361
ForwardIterator
@@ -2793,6 +2795,7 @@
27932795
Proj1 proj1 = {}, Proj2 proj2 = {});
27942796
}
27952797

2798+
@\newpage@
27962799
// \ref{alg.three.way}, three-way comparison algorithms
27972800
template<class InputIterator1, class InputIterator2, class Cmp>
27982801
constexpr auto
@@ -4177,6 +4180,8 @@
41774180
At most \tcode{last - first} applications of the corresponding predicate.
41784181
\end{itemdescr}
41794182

4183+
\newpage
4184+
41804185
\indexlibraryglobal{search_n}%
41814186
\begin{itemdecl}
41824187
template<@\libconcept{forward_iterator}@ I, @\libconcept{sentinel_for}@<I> S, class T,
@@ -6296,6 +6301,8 @@
62966301
Proj1 proj1 = {}, Proj2 proj2 = {});
62976302
\end{itemdecl}
62986303

6304+
\newpage
6305+
62996306
\begin{itemdescr}
63006307
\pnum
63016308
Let $N$ be $\min(\tcode{last - first}, \ \tcode{result_last - result_first})$.
@@ -6848,6 +6855,8 @@
68486855
ranges::partition(R&& r, Pred pred, Proj proj = {});
68496856
\end{itemdecl}
68506857

6858+
\newpage
6859+
68516860
\begin{itemdescr}
68526861
\pnum
68536862
Let \tcode{proj} be \tcode{identity\{\}}
@@ -7078,6 +7087,8 @@
70787087
of \tcode{pred} and \tcode{proj}.
70797088
\end{itemdescr}
70807089

7090+
\newpage
7091+
70817092
\rSec2[alg.merge]{Merge}
70827093

70837094
\indexlibraryglobal{merge}%
@@ -8950,7 +8961,7 @@
89508961
ForwardIterator1 first, ForwardIterator1 last,
89518962
ForwardIterator2 result,
89528963
BinaryOperation binary_op, UnaryOperation unary_op, T init);
8953-
8964+
@\enlargethispage{10pt}@
89548965
// \ref{adjacent.difference}, adjacent difference
89558966
template<class InputIterator, class OutputIterator>
89568967
constexpr OutputIterator
@@ -9293,6 +9304,8 @@
92939304
\end{itemize}
92949305
are convertible to \tcode{T}.
92959306

9307+
\newpage
9308+
92969309
\pnum
92979310
\expects
92989311
\begin{itemize}
@@ -9746,6 +9759,7 @@
97469759
transform_inclusive_scan(InputIterator first, InputIterator last,
97479760
OutputIterator result,
97489761
BinaryOperation binary_op, UnaryOperation unary_op);
9762+
@\newpage@
97499763
template<class ExecutionPolicy,
97509764
class ForwardIterator1, class ForwardIterator2,
97519765
class BinaryOperation, class UnaryOperation>
@@ -10350,6 +10364,8 @@
1035010364
\end{codeblock}
1035110365
\end{itemdescr}
1035210366

10367+
\enlargethispage{10pt}
10368+
1035310369
\indexlibraryglobal{uninitialized_value_construct_n}%
1035410370
\begin{itemdecl}
1035510371
namespace ranges {
@@ -10359,6 +10375,8 @@
1035910375
}
1036010376
\end{itemdecl}
1036110377

10378+
\newpage
10379+
1036210380
\begin{itemdescr}
1036310381
\pnum
1036410382
\effects

0 commit comments

Comments
 (0)