Title
Objects with no linkage in non-type template arguments
Status
cd4
Section
13.4.3 [temp.arg.nontype]
Submitter
Daniel Krügler

Created on 2012-02-01.00:00:00 last changed 45 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: 2014-11-15.00:00:00

[Adopted at the November, 2014 meeting as part of paper N4268.]

According to 13.4.3 [temp.arg.nontype] bullet 1.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
2021-02-17 00:00:00adminsetstatus: extension -> cd4
2012-02-27 00:00:00adminsetmessages: + msg3867
2012-02-01 00:00:00admincreate