From 0d46b2006c7dced831183e8f61adbbdeb4c024e8 Mon Sep 17 00:00:00 2001 From: Niels Dekker Date: Mon, 21 Sep 2020 19:16:05 +0200 Subject: [PATCH] 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. --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index f7c7a2e..b272dcb 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -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