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);
};
—
end example]