File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 4296
4296
Temporary objects are created
4297
4297
\begin {itemize }
4298
4298
\item
4299
- when a prvalue is converted to an xvalue\iref {conv.rval },
4299
+ when a prvalue is converted to an xvalue\iref {conv.rval } and
4300
4300
\item
4301
- when needed by the implementation to pass or return an object of trivially copyable type (see below),
4302
- and
4303
- \item
4304
- when throwing an exception\iref {except.throw }.
4305
- \begin {note }
4306
- The lifetime of exception objects is described in~\ref {except.throw }.
4307
- \end {note }
4301
+ when needed by the implementation to pass or return an object of trivially copyable type (see below).
4308
4302
\end {itemize }
4309
4303
Even when the creation of the temporary object is
4310
4304
unevaluated\iref {expr.context },
Original file line number Diff line number Diff line change 257
257
258
258
\pnum
259
259
Throwing an exception
260
- initializes a temporary object,
260
+ initializes an object with dynamic storage duration ,
261
261
called the
262
262
\defnx {exception object}{exception handling!exception object}.
263
263
If the type of the exception object would be
You can’t perform that action at this time.
0 commit comments