Restriction on alias name appearing in type-id
9.2.4 [dcl.typedef]
James Widman

Created on 2011-02-26.00:00:00 last changed 49 months ago


Date: 2015-05-15.00:00:00

[Moved to DR at the May, 2015 meeting.]

Date: 2015-04-15.00:00:00

Proposed resolution (April, 2015):

Change 9.2.4 [dcl.typedef] paragraph 2 as follows:

A typedef-name can also be introduced by an alias-declaration. The identifier following the using keyword becomes a typedef-name and the optional attribute-specifier-seq following the identifier appertains to that typedef-name. It has the same semantics as if it were introduced by the typedef specifier. In particular, it does not define a new type and it shall not appear in the type-id. [Example:...
Date: 2011-02-26.00:00:00

With the resolution of issue 1044, there is no need to say that the name of the alias cannot appear in the type-id of the declaration.

Date User Action Args
2017-02-06 00:00:00adminsetstatus: drwp -> cd4
2015-11-10 00:00:00adminsetstatus: dr -> drwp
2015-05-25 00:00:00adminsetmessages: + msg6050
2015-05-25 00:00:00adminsetstatus: tentatively ready -> dr
2015-04-13 00:00:00adminsetmessages: + msg5312
2015-04-13 00:00:00adminsetstatus: drafting -> tentatively ready
2011-02-26 00:00:00admincreate