Skip to content

Commit a019163

Browse files
eisenwavetkoeppe
authored andcommitted
[class.temporary] Clarify that list of contexts is exhaustive, say "temporary objects"
Fixes NB US 19-037 (C++26 CD).
1 parent 41c80d6 commit a019163

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/basic.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4772,8 +4772,8 @@
47724772
\pnum
47734773
\indextext{initializer!temporary and declarator}%
47744774
\indextext{temporary!order of destruction of}%
4775-
There are several contexts in which temporaries are destroyed at a different
4776-
point than the end of the full-expression.
4775+
Temporary objects are destroyed at a different point
4776+
than the end of the full-expression in the following contexts:
47774777
The first context is when a default constructor is called to initialize
47784778
an element of an array with no corresponding initializer\iref{dcl.init}.
47794779
The second context is when a copy constructor is called to copy an element of

0 commit comments

Comments
 (0)