Title
Objects with no linkage in non-type template arguments
Status
extension
Section
17.3.2 [temp.arg.nontype]
Submitter
Daniel Kr├╝gler

Created on 2012-02-01.00:00:00 last changed 101 months ago

Messages

Date: 2012-02-15.00:00:00

Rationale (February, 2012):

This is a request for an extension to the language and thus more appropriately addressed by EWG.

Date: 2012-09-24.00:00:00

According to 17.3.2 [temp.arg.nontype] paragraph 1 bullet 3, only objects with linkage can be used to form non-type template arguments. Is this restriction still needed? It would be convenient to use block-scope objects as template arguments.

History
Date User Action Args
2012-02-27 00:00:00adminsetmessages: + msg3867
2012-02-01 00:00:00admincreate