File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 43224322whose value is the value of the enumerator.
43234323
43244324\item
4325- Otherwise, if \tcode {E2} designates a direct base class relationship $ (D, B)$
4326- and the type of \tcode {E1} is \cv {} \tcode {T},
4325+ Otherwise, if \tcode {E2} designates a direct base class relationship $ (D, B)$ and
4326+ $ D$ is either the cv-unqualified class type of \tcode {E1} or a base class thereof,
4327+ let \cv {} be the cv-qualification of the type of \tcode {E1}.
4328+ \tcode {E1} is implicitly converted to the type `` reference to \cv {}~\tcode {$ D$ }''
4329+ (where the reference is an lvalue reference if \tcode {E1} is an lvalue
4330+ and an rvalue reference otherwise) and
43274331the expression designates the direct base class subobject of type $ B$
4328- of the object designated by \tcode {E1}.
4332+ of the object designated by the converted \tcode {E1}.
43294333If \tcode {E1} is an lvalue,
43304334then \tcode {E1.E2} is an lvalue;
43314335otherwise, \tcode {E1.E2} is an xvalue.
4332- The type of \tcode {E1.E2} is `` \cv {} \tcode {$ B$ }'' .
4333- \begin {note }
4334- This can only occur in an expression of the form \tcode {e1.[:e2:]}.
4335- \end {note }
4336+ The type of \tcode {E1.E2} is \cv {}~\tcode {$ B$ }.
43364337\begin {example }
43374338\begin {codeblock }
43384339struct B {
You can’t perform that action at this time.
0 commit comments