Skip to content

[class.temporary] Add paragraph number and split off example into its… #1211

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 12, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion source/special.tex
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,7 @@
\end{example} \begin{note} This may introduce a dangling reference, and implementations are encouraged to issue a warning in such a case. \end{note}
\end{itemize}

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

\pnum
\begin{example}
\begin{codeblock}
struct S {
S();
Expand Down