Skip to content

Commit 5ec123d

Browse files
jensmaurertkoeppe
authored andcommitted
[class.temporary] Add paragraph number and split off example into its own paragraph. (#1211)
1 parent a8a89d9 commit 5ec123d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/special.tex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,7 @@
547547
\end{example} \begin{note} This may introduce a dangling reference, and implementations are encouraged to issue a warning in such a case. \end{note}
548548
\end{itemize}
549549

550+
\pnum
550551
The destruction of a temporary whose lifetime is not extended by being
551552
bound to a reference is sequenced before the destruction of every
552553
temporary which is constructed earlier in the same full-expression.
@@ -571,8 +572,9 @@
571572
the temporary shall be destroyed after
572573
\tcode{obj2}
573574
is destroyed.
574-
\begin{example}
575575

576+
\pnum
577+
\begin{example}
576578
\begin{codeblock}
577579
struct S {
578580
S();

0 commit comments

Comments
 (0)