Skip to content

Commit

Permalink
[strings] Add page breaks.
Browse files Browse the repository at this point in the history
Partially addresses #4228.
  • Loading branch information
Dawn Perchik committed Sep 30, 2020
1 parent d73b1de commit 13e5a49
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions source/strings.tex
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,7 @@
template<class charT, class traits = char_traits<charT>,
class Allocator = allocator<charT>>
class basic_string {
@\newpage@
public:
// types
using traits_type = traits;
Expand Down Expand Up @@ -1328,6 +1329,8 @@
The second form throws nothing if \tcode{alloc == str.get_allocator()}.
\end{itemdescr}

\newpage

\begin{itemdecl}
template<class InputIterator,
class Allocator = allocator<typename iterator_traits<InputIterator>::value_type>>
Expand Down Expand Up @@ -3683,6 +3686,8 @@
for the return type.
\end{itemdescr}

\newpage

\indexlibraryglobal{stof}%
\indexlibraryglobal{stod}%
\indexlibraryglobal{stold}%
Expand Down Expand Up @@ -4945,6 +4950,9 @@
\tcode{t <=> sv} & \tcode{S(t) <=> sv} \\
\tcode{sv <=> t} & \tcode{sv <=> S(t)} \\
\end{libtab2}

\newpage

\begin{example}
A sample conforming implementation for \tcode{operator==} would be:
\begin{codeblock}
Expand Down

0 comments on commit 13e5a49

Please sign in to comment.