- Title
- Function cv-qualifiers and typeid
- Status
- cd3
- Section
- 7.6.1.8 [expr.typeid]
- Submitter
- Daniel Krügler
Created on 2011-11-17.00:00:00 last changed 152 months ago
Messages
Date: 2012-10-15.00:00:00
[Moved to DR at the October, 2012 meeting.]
Date: 2012-02-15.00:00:00
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:...
Date: 2011-11-17.00:00:00
The requirement in 7.6.1.8 [expr.typeid] paragraph 5 that 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.
The top-level cv-qualifiers of the glvalue expression or the
type-id that is the operand of typeid are always
ignored
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2014-03-03 00:00:00 | admin | set | status: drwp -> cd3 |
| 2013-05-03 00:00:00 | admin | set | status: dr -> drwp |
| 2012-11-03 00:00:00 | admin | set | messages: + msg4129 |
| 2012-11-03 00:00:00 | admin | set | status: ready -> dr |
| 2012-02-27 00:00:00 | admin | set | messages: + msg3698 |
| 2012-02-27 00:00:00 | admin | set | status: open -> ready |
| 2011-11-17 00:00:00 | admin | create | |