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 f469a54 commit 66f9fadCopy full SHA for 66f9fad
source/expressions.tex
@@ -3995,6 +3995,7 @@
3995
\pnum
3996
\indextext{cast!reinterpret!reference}%
3997
\indextext{cast!reference}%
3998
+\indextext{type pun}%
3999
A glvalue of type \tcode{T1},
4000
designating an object \placeholder{x},
4001
can be cast to the type ``reference to \tcode{T2}''
@@ -4007,7 +4008,7 @@
4007
4008
No temporary is created, no copy is made, and
4009
no constructors\iref{class.ctor} or conversion
4010
functions\iref{class.conv} are called.%
-\footnote{This is sometimes referred to as a \defn{type pun}
4011
+\footnote{This is sometimes referred to as a type pun
4012
when the result refers to the same object as the source glvalue.}
4013
4014
\rSec3[expr.const.cast]{Const cast}
0 commit comments