This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of C++20 status.
Section: 188.8.131.52.3 [macro.names] Status: C++20 Submitter: Tim Song Opened: 2018-06-30 Last modified: 2021-02-25
View all other issues in [macro.names].
View all issues with C++20 status.
expects and ensures are not technically described as attribute-tokens when used in a contract-attribute-specifier, so the existing prohibition in 184.108.40.206.3 [macro.names] doesn't apply to them.The remaining special identifiers used by the contract attributes are all already covered by existing wording: assert is also a library name so falls under p1, default is a keyword, and both axiom and audit were added to Table 4.
[2018-07-20 Status to Tentatively Ready after five positive votes on the reflector.]
[2018-11, Adopted in San Diego]
This wording is relative to N4762.
Change 220.127.116.11.3 [macro.names] p2 as indicated:
-2- A translation unit shall not #define or #undef names lexically identical to keywords, to the identifiers listed in Table 4,
orto the attribute-tokens described in 9.12 [dcl.attr].