Title
Explicit specializations and constexpr function templates
Status
drafting
Section
9.2.6 [dcl.constexpr]
Submitter
Faisal Vali

Created on 2015-04-26.00:00:00 last changed 116 months ago

Messages

Date: 2015-04-26.00:00:00

According to 9.2.6 [dcl.constexpr] paragraph 6,

If no specialization of the template would satisfy the requirements for a constexpr function or constexpr constructor when considered as a non-template function or constructor, the template is ill-formed; no diagnostic required.

This should say “instantiated template specialization” instead of just “specialization” to clarify that an explicit specialization is not in view here.

History
Date User Action Args
2015-04-26 00:00:00admincreate