Files
2025-10-25 03:02:53 +03:00

1.0 KiB
Raw Permalink Blame History

[diff.cpp03.language.support]

Annex C (informative) Compatibility [diff]

C.6 C++ and ISO C++ 2003 [diff.cpp03]

C.6.8 [support]:

language support library [diff.cpp03.language.support]

1

#

Affected subclause: [new.delete.single]

Change: operator new may throw exceptions other thanstd::bad_alloc.

Rationale: Consistent application of noexcept.

Effect on original feature: Valid C++ 2003 code that assumes that global operator new only throws std::bad_alloc may execute differently in this revision of C++.

Valid C++ 2003 code that replaces the global replaceable operator new is ill-formed in this revision of C++, because the exception specification of throw(std::bad_alloc) was removed.