From a80c2a6f3622ef3b5eba4c1bcfcb68983b6904b3 Mon Sep 17 00:00:00 2001 From: Eisenwave Date: Sat, 24 Jun 2023 05:34:42 +0200 Subject: [PATCH] fix ill-formed example C.65 (missing noexcept on declaration) (#2101) --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 0c1052d..b37426b 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -6387,7 +6387,7 @@ If `x = x` changes the value of `x`, people will be surprised and bad errors can string s; int i; public: - Foo& operator=(Foo&& a); + Foo& operator=(Foo&& a) noexcept; // ... };