From 52b0aa7cdf249f553458f66421364c994d18f1ba Mon Sep 17 00:00:00 2001 From: Juha Reunanen Date: Tue, 6 Apr 2021 16:46:25 +0300 Subject: [PATCH] C.other: Improve language just a bit (#1773) --- CppCoreGuidelines.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 1531caa..b7d9152 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -6350,8 +6350,8 @@ Classes that represent exception objects need both to be polymorphic and copy-co ## C.other: Other default operation rules -In addition to the operations for which the language offer default implementations, -there are a few operations that are so foundational that it rules for their definition are needed: +In addition to the operations for which the language offers default implementations, +there are a few operations that are so foundational that specific rules for their definition are needed: comparisons, `swap`, and `hash`. ### C.80: Use `=default` if you have to be explicit about using the default semantics