Created on 2019-06-07.00:00:00 last changed 47 months ago
Proposed resolution (November, 2019):
Change 13.9.4 [temp.expl.spec] paragraph 14 as follows:
An explicit specialization of a function or variable template is inline only if it is declared with the inline specifier or defined as deleted, and independently of whether its function or variable template is inline.The inline, constexpr, and consteval properties of an explicit specialization of a function or variable template are determined by the explicit specialization and are independent of those properties of the template. [Example:...
[Accepted as a DR at the November, 2019 meeting.]
According to 13.9.4 [temp.expl.spec] paragraph 13,
An explicit specialization of a function or variable template is inline only if it is declared with the inline specifier or defined as deleted, and independently of whether its function or variable template is inline.
The current wording does not specify the status of explicit specializations of constexpr and consteval function templates and members of class templates. Should a similar rule apply in those cases?
History | |||
---|---|---|---|
Date | User | Action | Args |
2020-12-15 00:00:00 | admin | set | messages: + msg6480 |
2019-06-07 00:00:00 | admin | create |