Title
odr-use vs template arguments and constexpr functions
Status
nad
Section
6.3 [basic.def.odr]
Submitter
Nikolay Ivchenkov

Created on 2011-03-08.00:00:00 last changed 155 months ago

Messages

Date: 2012-02-15.00:00:00

Notes from the February, 2012 meeting:

CWG determined that the current wording is clear enough that an instantiation is required whenever it affects the semantics of the program.

Date: 2012-02-27.00:00:00

Additional note, January, 2012:

Further discussion indicates that this is not a defect and should be closed as such.

Date: 2012-02-27.00:00:00

The relationship between when an expression is potentially evaluated, especially with respect to contexts requiring constant expressions, and non-type template arguments is not clear and should be clarified. In particular, it seems that these contexts should be potentially-evaluated.

See also issue 1378.

History
Date User Action Args
2012-02-27 00:00:00adminsetmessages: + msg3839
2012-02-27 00:00:00adminsetmessages: + msg3838
2012-02-27 00:00:00adminsetstatus: open -> nad
2011-03-08 00:00:00admincreate