This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 115e. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2024-11-11
[Moved to DR at the October, 2012 meeting.]
The requirement in 7.6.1.8 [expr.typeid] paragraph 5 that
The top-level cv-qualifiers of the glvalue expression or the type-id that is the operand of typeid are always ignored
could be misinterpreted as referring to cv-qualifiers in a function type, even though it is clear that a function type is never cv-qualified. A note emphasizing the fact that that is not the case would be helpful.
Proposed resolution (February, 2012):
Change 7.6.1.8 [expr.typeid] paragraph 5 as follows:
The top-level cv-qualifiers of the glvalue expression or the type-id that is the operand of typeid are always ignored.If the type of the expression or type-id is a cv-qualified type, the result of the typeid expression refers to a std::type_info object representing the cv-unqualified type. [Example:...