From d93489f3d4fd15c6b6b00690c5a0ac06b3f32b7f Mon Sep 17 00:00:00 2001 From: Herb Sutter Date: Thu, 10 Jun 2021 11:16:54 -0700 Subject: [PATCH] Applying Jonathan's suggestion for #1792 --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 8aae3cb..cf96584 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -4745,7 +4745,7 @@ into more expensive copies, or making a class move-only. // ... } -Given that "special attention" was needed for the destructor (here, to deallocate), the likelihood that copy and move assignment (which are generated by the compiler and both will implicitly destroy an object) are correct is low (here, we would get double deletion). +Given that "special attention" was needed for the destructor (here, to deallocate), the likelihood that the implicitly-defined copy and move assignment operators will be correct is low (here, we would get double deletion). ##### Note