Skip to content

Commit 2641469

Browse files
author
Dawn Perchik
committed
[expr] Add page breaks.
Partially addresses #4228.
1 parent 4d1baf4 commit 2641469

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

source/expressions.tex

+13
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,8 @@
582582
descriptions of those operators and contexts.
583583
\end{note}
584584

585+
\newpage
586+
585587
\rSec2[conv.lval]{Lvalue-to-rvalue conversion}
586588

587589
\pnum
@@ -1389,6 +1391,9 @@
13891391
template parameter object
13901392
and a prvalue otherwise\iref{basic.lval};
13911393
it is a bit-field if the identifier designates a bit-field.
1394+
1395+
\newpage
1396+
13921397
\begin{example}
13931398
\begin{codeblock}
13941399
void f() {
@@ -2469,6 +2474,7 @@
24692474

24702475
template<typename ...Args>
24712476
bool f(Args ...args) {
2477+
@\newpage@
24722478
return (args + ... + args); // error: both operands contain unexpanded packs
24732479
}
24742480
\end{codeblock}
@@ -2796,6 +2802,7 @@
27962802
\begin{example}
27972803
\begin{codeblock}
27982804
template<typename T> concept C = requires (T a) {
2805+
@\newpage@
27992806
requires sizeof(a) == 4; // OK
28002807
requires a == 0; // error: evaluation of a constraint variable
28012808
};
@@ -4596,6 +4603,7 @@
45964603
\begin{codeblock}
45974604
template<class... Types>
45984605
struct count {
4606+
@\newpage@
45994607
static const std::size_t value = sizeof...(Types);
46004608
};
46014609
\end{codeblock}
@@ -5723,6 +5731,8 @@
57235731
\tcode{(a/b)*b + a\%b} is equal to \tcode{a}; otherwise, the behavior
57245732
of both \tcode{a/b} and \tcode{a\%b} is undefined.
57255733

5734+
\newpage
5735+
57265736
\rSec2[expr.add]{Additive operators}%
57275737
\indextext{expression!additive operators}%
57285738
\indextext{operator!additive}
@@ -6614,6 +6624,9 @@
66146624
The exception is reactivated with the existing exception object;
66156625
no new exception object is created.
66166626
The exception is no longer considered to be caught.
6627+
6628+
\newpage
6629+
66176630
\begin{example}
66186631
An exception handler that cannot completely handle the exception itself
66196632
can be written like this:

0 commit comments

Comments
 (0)