Skip to content

Commit 32f0809

Browse files
committed
[class.temporary] Clarify that list of contexts is exhaustive, say "temporary objects"
Fixes NB US 19-037 (C++26 CD).
1 parent b194937 commit 32f0809

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
@@ -4768,8 +4768,8 @@
47684768
\pnum
47694769
\indextext{initializer!temporary and declarator}%
47704770
\indextext{temporary!order of destruction of}%
4771-
There are several contexts in which temporaries are destroyed at a different
4772-
point than the end of the full-expression.
4771+
Temporary objects are destroyed at a different point
4772+
than the end of the full-expression in the following contexts:
47734773
The first context is when a default constructor is called to initialize
47744774
an element of an array with no corresponding initializer\iref{dcl.init}.
47754775
The second context is when a copy constructor is called to copy an element of

0 commit comments

Comments
 (0)