mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08: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:
parent
2e3f983971
commit
0d46b2006c
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user