Created on 2013-07-08.00:00:00 last changed 94 months ago
[Moved to DR at the November, 2014 meeting.]
Proposed resolution (February, 2014):
Change 9.2.6 [dcl.constexpr] paragraph 1 as follows:
...If any declaration of a function,or function template, or variable templatehas a constexpr specifier, then all its declarations shall contain the constexpr specifier. [Note:...
According to 9.2.6 [dcl.constexpr] paragraph 1,
If any declaration of a function, function template, or variable template has a constexpr specifier, then all its declarations shall contain the constexpr specifier.
This requirement does not make sense applied to variable templates. The constexpr specifier requires that there be an initializer, and a variable template declaration with an initializer is a definition, so there cannot be more than one declaration of a variable template with the constexpr specifier.
History | |||
---|---|---|---|
Date | User | Action | Args |
2017-02-06 00:00:00 | admin | set | status: drwp -> cd4 |
2015-05-25 00:00:00 | admin | set | status: dr -> drwp |
2015-04-13 00:00:00 | admin | set | messages: + msg5358 |
2014-11-24 00:00:00 | admin | set | status: ready -> dr |
2014-03-03 00:00:00 | admin | set | messages: + msg4820 |
2014-03-03 00:00:00 | admin | set | status: drafting -> ready |
2013-10-14 00:00:00 | admin | set | status: open -> drafting |
2013-07-08 00:00:00 | admin | create |