Skip to content

Commit 0289b1b

Browse files
committed
[dcl.type.cv] Remove paragraph break inside intra-paragraph example
1 parent 73bff4c commit 0289b1b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

source/declarations.tex

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,6 @@
11811181
can be modified, any attempt to modify a \tcode{const} object during its
11821182
lifetime~(\ref{basic.life}) results in undefined behavior.
11831183
\begin{example}
1184-
11851184
\begin{codeblock}
11861185
const int ci = 3; // cv-qualified (initialized as required)
11871186
ci = 4; // ill-formed: attempt to modify \tcode{const}
@@ -1199,10 +1198,7 @@
11991198
int* iq = const_cast<int*>(ciq); // cast required
12001199
*iq = 4; // undefined: modifies a \tcode{const} object
12011200
\end{codeblock}
1202-
1203-
\pnum
1204-
For another example
1205-
1201+
For another example,
12061202
\begin{codeblock}
12071203
struct X {
12081204
mutable int i;

0 commit comments

Comments
 (0)