Created on 2011-08-19.00:00:00 last changed 24 months ago
Rationale (April, 2013):
CWG felt that this suggested use of alias templates should be considered in a broader context and thus was more appropriate for EWG.
EWG 2022-11-11
extern "C" on a template should be allowed, and should affect only calling convention, but not mangling. This is tracked in github issue cplusplus/papers#1373.
Additional note, April, 2013:
It was suggested that relaxing this restriction for alias templates could provide a way of addressing the long-standing lack of a way of specifying a language linkage for a dependent function type (see issue 13).
Currently 13.1 [temp.pre] paragraph 6 forbids any template from having C linkage. Should alias templates be exempt from this prohibition, since they do not have any linkage?
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-11-25 06:28:09 | admin | set | status: extension -> drafting |
2013-05-03 00:00:00 | admin | set | messages: + msg4448 |
2013-05-03 00:00:00 | admin | set | messages: + msg4447 |
2013-05-03 00:00:00 | admin | set | status: open -> extension |
2011-08-19 00:00:00 | admin | create |