This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 113d. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2024-03-20


1534. cv-qualification of prvalue of type “array of class”

Section: 7.2.1  [basic.lval]     Status: dup     Submitter: Daveed Vandevoorde     Date: 2012-08-09

According to 7.2.1 [basic.lval] paragraph 4,

Class prvalues can have cv-qualified types; non-class prvalues always have cv-unqualified types.

Presumably an array of a class type should also be permitted to have a cv-qualified type.

Rationale (October, 2012):

This issue is a subset of, and resolved by the resolution of, issue 1261.