Title
Repeated alias templates
Status
cd6
Section
13.7.8 [temp.alias]
Submitter
Mike Miller

Created on 2014-03-18.00:00:00 last changed 27 months ago

Messages

Date: 2014-11-15.00:00:00

Notes from the November, 2014 meeting:

CWG agreed that the usage should be permitted, provided that the dependent types are equivalent. Note that this is a weaker requirement than the token-for-token identity of the ODR, since alias templates are not definitions per Clause 13 [temp] paragraph 1.

Date: 2020-11-15.00:00:00

[Accepted at the November, 2020 meeting as part of paper P1787R6 and moved to DR at the February, 2021 meeting.]

The current wording of the Standard does not permit repeated alias template declarations within a scope, but some current implementations allow it, presumably by analogy with typedef declarations. Should the Standard be changed to permit this usage?

History
Date User Action Args
2022-08-19 07:54:33adminsetstatus: drwp -> cd6
2021-02-24 00:00:00adminsetstatus: accepted -> drwp
2020-12-15 00:00:00adminsetstatus: drafting -> accepted
2014-11-24 00:00:00adminsetmessages: + msg5224
2014-11-24 00:00:00adminsetstatus: open -> drafting
2014-03-18 00:00:00admincreate