Annex C (informative)
Compatibility
[diff]
C.1
C++ and ISO C++ 2023
[diff.cpp23]
C.1.2
[lex]
: Lexical conventions
[diff.cpp23.lex]
1
#
Affected subclause:
[lex.
key]
Change:
New keywords
.
Rationale:
Required for new features
.
(1.1)
The
contract_
assert
keyword is added to introduce a contract assertion through an
assertion-statement
(
[stmt.
contract.
assert]
).
Effect on original feature:
Valid C++ 2023 code using
contract_
assert
as an identifier is not valid in this revision of C++
.