Created on2013-07-08.00:00:00 last changed109 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 functiontemplate, or variable templatehas aconstexprspecifier, then all its declarations shall contain theconstexprspecifier. [Note:...
According to 9.2.6 [dcl.constexpr] paragraph 1,
If any declaration of a function, function template, or variable templatehas aconstexpr specifier, then all its declarations shall containtheconstexpr specifier.
This requirement does not make sense applied to variable templates.Theconstexpr 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 templatewith theconstexpr 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 | |