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

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

Messages

Date: 2022-07-15.00:00:00

[ The paragraph in question was removed by P2448R2, adopted at the July, 2022 meeting. ]

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
2025-03-19 12:45:41adminsetstatus: open -> nad
2025-03-05 21:47:19adminsetstatus: drafting -> open
2015-04-26 00:00:00admincreate