We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4539636 commit e326276Copy full SHA for e326276
source/expressions.tex
@@ -7616,6 +7616,15 @@
7616
to storage allocated with \tcode{std::allocator<T>} or
7617
to an object whose lifetime began within the evaluation of $E$.
7618
7619
+\pnum
7620
+For the purposes of determining whether $E$ is a core constant expression,
7621
+the evaluation of a call to
7622
+a trivial copy/move constructor or copy/move assignment operator of a union
7623
+is considered to copy/move the active member of the union, if any.
7624
+\begin{note}
7625
+The copy/move of the active member is trivial.
7626
+\end{note}
7627
+
7628
\pnum
7629
During the evaluation of an expression $E$ as a core constant expression,
7630
all \grammarterm{id-expression}s and uses of \tcode{*\keyword{this}}
0 commit comments