File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 628
628
names a variable \tcode {x} that is not odr-used by
629
629
$ E_\tcode {x}$ \iref {basic.def.odr },
630
630
\end {itemize }
631
- the value contained in the referenced object is not accessed.
631
+ the object designated by $ E $ is not accessed.
632
632
\begin {example }
633
633
\begin {codeblock }
634
634
struct S { int n; };
661
661
type, the conversion copy-initializes the result object from
662
662
the glvalue.
663
663
664
+ \item Otherwise, if $ E$ is a constant expression that designates an object
665
+ that is usable in constant expressions ([expr.const]),
666
+ the result is the value of that object.
667
+
664
668
\item Otherwise, if the object to which the glvalue refers contains an invalid
665
669
pointer value~(\ref {basic.stc.dynamic.deallocation },
666
670
\ref {basic.stc.dynamic.safety }), the behavior is
You can’t perform that action at this time.
0 commit comments