missing a return *this in a copy-assignment

pull/1258/merge
Sergey Zubkov 7 years ago
parent faad9d8b56
commit 1e12aba7af

@ -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. ???)

Loading…
Cancel
Save