diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 116e0ec..d7042fc 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -21354,6 +21354,7 @@ Besides destructors and deallocation functions, common error-safety techniques r T& T::operator=(const T& other) { auto temp = other; swap(temp); + return *this; } (See also Item 56. ???)