Annex C (informative) Compatibility [diff]

C.1 C++ and ISO C++ 2026 [diff.cpp26]

C.1.2 [basic]: basics [diff.cpp26.basic]

Affected subclause: [basic.stc.dynamic.deallocation]
Change: Potentially throwing exception specifications on deallocation functions are ill-formed.

Rationale: Removes potential undefined behavior.

Effect on original feature: Valic C++ 2026 code that declares a deallocation function with a potentially throwing exception specification becomes ill-formed.
[Example 1: struct T { void operator delete(void *) noexcept(false); // ill-formed; previously well-formed }; — end example]