Skip to content

Commit 98c8606

Browse files
committed
[class.temporary] Clarify that list of contexts is exhaustive
Fixes NB US 19-037 (C++26 CD).
1 parent b194937 commit 98c8606

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/basic.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4768,7 +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
4771+
There are several contexts all listed below
4772+
in which temporaries are destroyed at a different
47724773
point than the end of the full-expression.
47734774
The first context is when a default constructor is called to initialize
47744775
an element of an array with no corresponding initializer\iref{dcl.init}.

0 commit comments

Comments
 (0)