Question.8
A developer implements a move assignment operator:
Buffer& operator=(Buffer&& o) noexcept {
delete[] data;
data = o.data;
size = o.size;
o.data = nullptr;
o.size = 0;
return *this;
}
Buffer buf(64);
buf = std::move(buf); // Self-moveWhat happens on self-move-assignment?