addressof2.C
1.2 KB
-
CWG 616, 1213 - value category of subobject references. · 955da5e5
* tree.c (lvalue_kind): A reference to a subobject of a prvalue is an xvalue. * typeck2.c (build_m_component_ref): Likewise. * typeck.c (cp_build_addr_expr_1, lvalue_or_else): Remove diagnostic distinction between temporary and xvalue. From-SVN: r260621
Jason Merrill committed