This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 117b. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2025-08-11
2428. Deprecating a conceptSection: 13.7.9 [temp.concept] Status: C++23 Submitter: Eric Niebler Date: 2018-12-10[Accepted as a DR at the November, 2022 meeting.]
The grammar for a concept-definition does not include an attribute-specifier-seqopt, making it impossible to deprecate a concept. This seems like an oversight.
CWG telecon 2022-10-07:
Agreed.
Proposed resolution (approved by CWG 2022-10-21):
Change in 9.13.4 [dcl.attr.deprecated] paragraph 2 as follows:
The attribute may be applied to the declaration of a class, a typedef-name, a variable, a non-static data member, a function, a namespace, an enumeration, an enumerator, a concept, or a template specialization.
Change in 13.7.9 [temp.concept] paragraph 1 as follows:
A concept is a template that defines constraints on its template arguments.concept-definition: concept concept-name attribute-specifier-seqopt = constraint-expression ; concept-name: identifierA concept-definition declares a concept. Its identifier becomes a concept-name referring to that concept within its scope. The optional attribute-specifier-seq appertains to the concept.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4