This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 111d. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
[Moved to DR status at the April, 2013 meeting.]
Because the subscripting operation is defined as indirection through a pointer value, the result of a subscript operator applied to an xvalue array is an lvalue, not an xvalue. This could be surprising to some.
Proposed resolution (December, 2012):
Change 220.127.116.11 [expr.sub] paragraph 1 as follows:
A postfix expression followed by an expression in square brackets is a postfix expression. One of the expressions shall have the type “pointer to T” and the other shall have unscoped enumeration or integral type. The result is
an lvalueof type “T.” The type “T” shall be a completely-defined object type.62 The expression E1[E2] is identical (by definition) to *((E1)+(E2)) [Note: see 7.6.2 [expr.unary] and 7.6.6 [expr.add] for details of * and + and 18.104.22.168 [dcl.array] for details of arrays. —end note]
(See also issue 616.)
Additional note (January, 2013):
The preceding resolution differs from that discussed in the December, 2012 drafting review teleconference by the deletion of the words “an lvalue” in the second sentence. The issue has consequently been moved to "review" status instead of "tentatively ready."