diff --git a/source/algorithms.tex b/source/algorithms.tex index aa6c88ca75..dcbc147a57 100644 --- a/source/algorithms.tex +++ b/source/algorithms.tex @@ -832,15 +832,13 @@ template<@\libconcept{input_iterator}@ I1, @\libconcept{sentinel_for}@ S1, @\libconcept{forward_iterator}@ I2, sentinel_for S2, class Pred = ranges::equal_to, class Proj1 = identity, class Proj2 = identity> requires @\libconcept{indirectly_comparable}@ - constexpr I1 find_first_of(I1 first1, S1 last1, I2 first2, S2 last2, - Pred pred = {}, + constexpr I1 find_first_of(I1 first1, S1 last1, I2 first2, S2 last2, Pred pred = {}, Proj1 proj1 = {}, Proj2 proj2 = {}); template<@\libconcept{input_range}@ R1, @\libconcept{forward_range}@ R2, class Pred = ranges::equal_to, class Proj1 = identity, class Proj2 = identity> requires @\libconcept{indirectly_comparable}@, iterator_t, Pred, Proj1, Proj2> constexpr borrowed_iterator_t - find_first_of(R1&& r1, R2&& r2, - Pred pred = {}, + find_first_of(R1&& r1, R2&& r2, Pred pred = {}, Proj1 proj1 = {}, Proj2 proj2 = {}); } @@ -905,6 +903,7 @@ @\libconcept{indirect_unary_predicate}@> Pred> constexpr iter_difference_t count_if(I first, S last, Pred pred, Proj proj = {}); +@\newpage@ template<@\libconcept{input_range}@ R, class Proj = identity, @\libconcept{indirect_unary_predicate}@, Proj>> Pred> constexpr range_difference_t @@ -1097,8 +1096,7 @@ template constexpr ForwardIterator search_n(ForwardIterator first, ForwardIterator last, - Size count, const T& value, - BinaryPredicate pred); + Size count, const T& value, BinaryPredicate pred); template ForwardIterator search_n(ExecutionPolicy&& exec, // see \ref{algorithms.parallel.overloads} @@ -1840,22 +1838,18 @@ } template - constexpr void partial_sort(RandomAccessIterator first, - RandomAccessIterator middle, + constexpr void partial_sort(RandomAccessIterator first, RandomAccessIterator middle, RandomAccessIterator last); template - constexpr void partial_sort(RandomAccessIterator first, - RandomAccessIterator middle, + constexpr void partial_sort(RandomAccessIterator first, RandomAccessIterator middle, RandomAccessIterator last, Compare comp); template void partial_sort(ExecutionPolicy&& exec, // see \ref{algorithms.parallel.overloads} - RandomAccessIterator first, - RandomAccessIterator middle, + RandomAccessIterator first, RandomAccessIterator middle, RandomAccessIterator last); template void partial_sort(ExecutionPolicy&& exec, // see \ref{algorithms.parallel.overloads} - RandomAccessIterator first, - RandomAccessIterator middle, + RandomAccessIterator first, RandomAccessIterator middle, RandomAccessIterator last, Compare comp); namespace ranges { @@ -2361,6 +2355,7 @@ ForwardIterator1 first1, ForwardIterator1 last1, ForwardIterator2 first2, ForwardIterator2 last2, ForwardIterator result); +@\newpage@ template ForwardIterator @@ -2800,6 +2795,7 @@ Proj1 proj1 = {}, Proj2 proj2 = {}); } +@\newpage@ // \ref{alg.three.way}, three-way comparison algorithms template constexpr auto @@ -4184,6 +4180,8 @@ At most \tcode{last - first} applications of the corresponding predicate. \end{itemdescr} +\newpage + \indexlibraryglobal{search_n}% \begin{itemdecl} template<@\libconcept{forward_iterator}@ I, @\libconcept{sentinel_for}@ S, class T, @@ -6303,6 +6301,8 @@ Proj1 proj1 = {}, Proj2 proj2 = {}); \end{itemdecl} +\newpage + \begin{itemdescr} \pnum Let $N$ be $\min(\tcode{last - first}, \ \tcode{result_last - result_first})$. @@ -6855,6 +6855,8 @@ ranges::partition(R&& r, Pred pred, Proj proj = {}); \end{itemdecl} +\newpage + \begin{itemdescr} \pnum Let \tcode{proj} be \tcode{identity\{\}} @@ -6975,8 +6977,7 @@ \indexlibraryglobal{partition_copy}% \begin{itemdecl} -template +template constexpr pair partition_copy(InputIterator first, InputIterator last, OutputIterator1 out_true, OutputIterator2 out_false, Predicate pred); @@ -7086,6 +7087,8 @@ of \tcode{pred} and \tcode{proj}. \end{itemdescr} +\newpage + \rSec2[alg.merge]{Merge} \indexlibraryglobal{merge}% @@ -7357,8 +7360,7 @@ \indexlibraryglobal{set_union}% \begin{itemdecl} -template +template constexpr OutputIterator set_union(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, InputIterator2 last2, @@ -7371,8 +7373,7 @@ ForwardIterator2 first2, ForwardIterator2 last2, ForwardIterator result); -template +template constexpr OutputIterator set_union(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, InputIterator2 last2, @@ -8357,8 +8358,7 @@ Compare comp); template ForwardIterator min_element(ExecutionPolicy&& exec, - ForwardIterator first, ForwardIterator last, - Compare comp); + ForwardIterator first, ForwardIterator last, Compare comp); template<@\libconcept{forward_iterator}@ I, @\libconcept{sentinel_for}@ S, class Proj = identity, @\libconcept{indirect_strict_weak_order}@> Comp = ranges::less> @@ -8961,7 +8961,7 @@ ForwardIterator1 first, ForwardIterator1 last, ForwardIterator2 result, BinaryOperation binary_op, UnaryOperation unary_op, T init); - +@\enlargethispage{10pt}@ // \ref{adjacent.difference}, adjacent difference template constexpr OutputIterator @@ -9304,6 +9304,8 @@ \end{itemize} are convertible to \tcode{T}. +\newpage + \pnum \expects \begin{itemize} @@ -9757,6 +9759,7 @@ transform_inclusive_scan(InputIterator first, InputIterator last, OutputIterator result, BinaryOperation binary_op, UnaryOperation unary_op); +@\newpage@ template @@ -10361,6 +10364,8 @@ \end{codeblock} \end{itemdescr} +\enlargethispage{10pt} + \indexlibraryglobal{uninitialized_value_construct_n}% \begin{itemdecl} namespace ranges { @@ -10370,6 +10375,8 @@ } \end{itemdecl} +\newpage + \begin{itemdescr} \pnum \effects diff --git a/source/atomics.tex b/source/atomics.tex index 3b6ea73ba1..d27751b89e 100644 --- a/source/atomics.tex +++ b/source/atomics.tex @@ -2588,6 +2588,8 @@ subtraction \\ \end{floattable} +\newpage + \indexlibraryglobal{atomic_fetch_add}% \indexlibraryglobal{atomic_fetch_sub}% \indexlibraryglobal{atomic_fetch_add_explicit}% @@ -2753,6 +2755,8 @@ resulting from this is performed. \end{note} +\newpage + \pnum \begin{example} \begin{codeblock} diff --git a/source/iostreams.tex b/source/iostreams.tex index a493a89f23..650d6c0979 100644 --- a/source/iostreams.tex +++ b/source/iostreams.tex @@ -605,6 +605,8 @@ declared in \libheaderref{cstdio}. \end{itemdescr} +\newpage + \rSec1[iostreams.base]{Iostreams base classes} \rSec2[ios.syn]{Header \tcode{} synopsis} @@ -1742,6 +1744,8 @@ then the behavior of that function is undefined. \indextext{undefined}% +\newpage + \rSec2[ios]{Class template \tcode{basic_ios}} \rSec3[ios.overview]{Overview} @@ -7622,6 +7626,8 @@ then calls \tcode{init_buf_ptrs()}. \end{itemdescr} +\newpage + \indexlibraryctor{basic_stringbuf}% \begin{itemdecl} basic_stringbuf(basic_stringbuf&& rhs); @@ -8290,6 +8296,8 @@ \tcode{basic_stringbuf(which | ios_base::in)}\iref{stringbuf.cons}. \end{itemdescr} +\newpage + \indexlibraryctor{basic_istringstream}% \begin{itemdecl} explicit basic_istringstream( @@ -8659,8 +8667,7 @@ \begin{itemdecl} template basic_ostringstream( - const basic_string& s, - ios_base::openmode which, const Allocator& a); + const basic_string& s, ios_base::openmode which, const Allocator& a); \end{itemdecl} \begin{itemdescr} @@ -8830,6 +8837,8 @@ Equivalent to: \tcode{rdbuf()->str(std::move(s));} \end{itemdescr} +\newpage + \rSec2[stringstream]{Class template \tcode{basic_stringstream}} \rSec3[stringstream.general]{General} @@ -9900,6 +9909,8 @@ \tcode{pos_type(off_type(-1))}. \end{itemdescr} +\newpage + \indexlibrarymember{seekpos}{basic_filebuf}% \begin{itemdecl} pos_type seekpos(pos_type sp, @@ -11900,6 +11911,7 @@ template friend basic_ostream& operator<<(basic_ostream& os, const path& p); +@\newpage@ template friend basic_istream& operator>>(basic_istream& is, path& p); @@ -15489,6 +15501,8 @@ At most one direct or indirect invocation of \tcode{status(to)}. \end{itemdescr} +\newpage + \rSec3[fs.op.copy.symlink]{Copy symlink} \indexlibraryglobal{copy_symlink}% diff --git a/source/locales.tex b/source/locales.tex index c0dd8c97a5..6b75da1552 100644 --- a/source/locales.tex +++ b/source/locales.tex @@ -1480,7 +1480,7 @@ using mask = typename ctype::mask; explicit ctype_byname(const char*, size_t refs = 0); explicit ctype_byname(const string&, size_t refs = 0); - +@\newpage@ protected: ~ctype_byname(); }; diff --git a/source/regex.tex b/source/regex.tex index f97cb0436c..db2a676c1c 100644 --- a/source/regex.tex +++ b/source/regex.tex @@ -2364,6 +2364,8 @@ sub-expressions stored in \tcode{*this}. \end{itemdescr} +\newpage + \indexlibrarymember{match_results}{end}% \begin{itemdecl} const_iterator end() const; diff --git a/source/threads.tex b/source/threads.tex index a440cc74b0..2972d342a3 100644 --- a/source/threads.tex +++ b/source/threads.tex @@ -2464,6 +2464,8 @@ \tcode{try_lock_until()}. Only when all levels of ownership have been released may ownership of the object be acquired by another thread. +\newpage + \pnum The behavior of a program is undefined if: \begin{itemize} @@ -2595,6 +2597,8 @@ Nothing. \end{itemdescr} +\newpage + \rSec4[thread.sharedmutex.class]{Class \tcode{shared_mutex}} \indexlibraryglobal{shared_mutex}% @@ -3511,6 +3515,8 @@ \rSec4[thread.lock.shared.general]{General} +\enlargethispage{1ex} + \indexlibraryglobal{shared_lock}% \begin{codeblock} namespace std { @@ -4509,6 +4515,8 @@ exceptions\iref{thread.req.timing}. \end{itemdescr} +\newpage + \indexlibrarymember{wait_for}{condition_variable}% \begin{itemdecl} template @@ -6855,6 +6863,8 @@ \end{itemize} \end{itemdescr} +\newpage + \indexlibrarymember{operator=}{shared_future}% \begin{itemdecl} shared_future& operator=(shared_future&& rhs) noexcept; @@ -7017,6 +7027,8 @@ timeout-related exceptions\iref{thread.req.timing}. \end{itemdescr} +\newpage + \indexlibrarymember{wait_until}{shared_future}% \begin{itemdecl} template diff --git a/source/time.tex b/source/time.tex index 6324580dea..684055193d 100644 --- a/source/time.tex +++ b/source/time.tex @@ -3164,6 +3164,8 @@ \tcode{is}. \end{itemdescr} +\newpage + \rSec2[time.clock.gps]{Class \tcode{gps_clock}} \rSec3[time.clock.gps.overview]{Overview} @@ -3262,6 +3264,8 @@ \end{note} \end{itemdescr} +\newpage + \rSec3[time.clock.gps.nonmembers]{Non-member functions} \indexlibrarymember{operator<<}{gps_time}% @@ -6735,6 +6739,8 @@ \end{codeblock} \end{itemdescr} +\newpage + \indexlibrarymember{from_stream}{year_month_day}% \begin{itemdecl} template> @@ -7159,7 +7165,7 @@ constexpr chrono::weekday weekday() const noexcept; constexpr unsigned index() const noexcept; constexpr chrono::weekday_indexed weekday_indexed() const noexcept; - +@\newpage@ constexpr operator sys_days() const noexcept; constexpr explicit operator local_days() const noexcept; constexpr bool ok() const noexcept;