Subject: [std-proposals] proposal: [[noexcept]] attribute
From: Walt Karas (wkaras_at_[hidden])
Date: 2019-10-23 07:53:36
I propose adding noexcept as an attribute.Â It would be used after a function call to a noexcept(false) function.Â It asserts that, in that context, the function will not throw any exceptions.Â I also propose that, if a function that only has calls to noexcept functions, or calls with the [[noexcept]] attribute, the compiler must emit a diagnostic (presumably a warning) if the function is noexcept(false).
STD-PROPOSALS list run by email@example.com
Standard Proposals Archives on Google Groups