Created on 2012-06-14.00:00:00 last changed 131 months ago
[Moved to DR at the April, 2013 meeting.]
Proposed resolution (October, 2012):
Change 9.3.4.3 [dcl.ref] paragraph 1 as follows:
...Cv-qualified references are ill-formed except when the cv-qualifiers are introduced through the use of atypedeftypedef-name (9.2.4 [dcl.typedef], 13.2 [temp.param]) orof a template type argument (13.4 [temp.arg])decltype-specifier (9.2.9.3 [dcl.type.simple]), in which case the cv-qualifiers are ignored. [Example:...
According to 9.3.4.3 [dcl.ref] paragraph 1,
Cv-qualified references are ill-formed except when the cv-qualifiers are introduced through the use of a typedef (9.2.4 [dcl.typedef]) or of a template type argument (13.4 [temp.arg]), in which case the cv-qualifiers are ignored.
There does not appear to be a good reason not to extend this to apply to apply to decltype, as well.
History | |||
---|---|---|---|
Date | User | Action | Args |
2014-03-03 00:00:00 | admin | set | status: drwp -> cd3 |
2013-10-14 00:00:00 | admin | set | status: dr -> drwp |
2013-05-03 00:00:00 | admin | set | messages: + msg4406 |
2013-05-03 00:00:00 | admin | set | status: ready -> dr |
2012-11-03 00:00:00 | admin | set | messages: + msg4062 |
2012-11-03 00:00:00 | admin | set | status: open -> ready |
2012-06-14 00:00:00 | admin | create |