Skip to content

Commit e312e38

Browse files
author
Dawn Perchik
committed
[dcl.dcl] Add page breaks.
Partially addresses #4228.
1 parent 4b83d50 commit e312e38

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

source/declarations.tex

+26
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,9 @@
582582
a \grammarterm{typedef-name} is thus a synonym for another type. A
583583
\grammarterm{typedef-name} does not introduce a new type the way a class
584584
declaration\iref{class.name} or enum declaration\iref{dcl.enum} does.
585+
586+
\newpage
587+
585588
\begin{example}
586589
After
587590
\begin{codeblock}
@@ -1213,6 +1216,8 @@
12131216
\grammarterm{type-specifier}{s} are discussed in the rest of \ref{dcl.type}.
12141217
\end{note}
12151218

1219+
\newpage
1220+
12161221
\rSec3[dcl.type.cv]{The \fakegrammarterm{cv-qualifier}{s}}%
12171222
\indextext{specifier!cv-qualifier}%
12181223
\indextext{initialization!\idxcode{const}}%
@@ -1731,6 +1736,9 @@
17311736
\end{codeblock}
17321737
the \grammarterm{expression-list} shall be a single
17331738
\grammarterm{assignment-expression}.
1739+
1740+
\newpage
1741+
17341742
\begin{example}
17351743
\begin{codeblock}
17361744
auto x = 5; // OK: \tcode{x} has type \tcode{int}
@@ -3668,6 +3676,8 @@
36683676
template<C3 T> void g4(T);
36693677
\end{codeblock}
36703678

3679+
\newpage
3680+
36713681
Abbreviated function templates can be specialized like all function templates.
36723682
\begin{codeblock}
36733683
template<> void g1<int>(const int*, const double&); // OK, specialization of \tcode{g1<int, const double>}
@@ -3885,6 +3895,7 @@
38853895
a = 2;
38863896
{
38873897
int a = 3;
3898+
@\newpage@
38883899
g(); // \tcode{g(f(::a))}
38893900
}
38903901
}
@@ -6148,6 +6159,8 @@
61486159
constitute a reference.
61496160
\end{note}
61506161

6162+
\newpage
6163+
61516164
\pnum
61526165
\begin{example}
61536166
One can prevent default initialization and
@@ -7298,6 +7311,9 @@
72987311
that the entity being defined was already declared in the namespace and
72997312
the definition appears after the point of declaration in a namespace
73007313
that encloses the declaration's namespace.
7314+
7315+
\newpage
7316+
73017317
\begin{example}
73027318
\begin{codeblock}
73037319
namespace Q {
@@ -7637,6 +7653,8 @@
76377653
\indextext{using-directive|)}%
76387654
\indextext{namespaces|)}
76397655

7656+
\newpage
7657+
76407658
\rSec1[namespace.udecl]{The \tcode{using} declaration}%
76417659
\indextext{using-declaration|(}
76427660

@@ -7733,6 +7751,9 @@
77337751
X<B, D> x; // OK: \tcode{B::g} and \tcode{D::g} introduced
77347752
\end{codeblock}
77357753
\end{example}
7754+
7755+
\newpage
7756+
77367757
\begin{example}
77377758
\begin{codeblock}
77387759
class C {
@@ -8349,6 +8370,9 @@
83498370
must not be defined in more
83508371
than one namespace scope.
83518372
\end{note}
8373+
8374+
\newpage
8375+
83528376
\begin{example}
83538377
\begin{codeblock}
83548378
int x;
@@ -8980,6 +9004,8 @@
89809004
implementations should not emit such a warning unless
89819005
all of its structured bindings are unused.
89829006

9007+
\newpage
9008+
89839009
\pnum
89849010
\begin{example}
89859011
\begin{codeblock}

0 commit comments

Comments
 (0)