mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
E.30: Remove suggestion to use throw()
Removed the suggestion to use `throw()` from E.30 ("Don't use exception specifications"), as it was deprecated by C++11, and is rejected by C++20.
This commit is contained in:
@@ -16330,7 +16330,7 @@ For example, see [Stroustrup94](#Stroustrup94).
|
||||
|
||||
##### Note
|
||||
|
||||
If no exception can be thrown, use [`noexcept`](#Re-noexcept) or its equivalent `throw()`.
|
||||
If no exception can be thrown, use [`noexcept`](#Re-noexcept).
|
||||
|
||||
##### Enforcement
|
||||
|
||||
|
||||
Reference in New Issue
Block a user