I am just starting C++. I am a bit confused about the return type of assignment and dereference operator. I am following the book C++ Primer. At various occasions, the autho
I have seen similar issues, but I guess it would be best to use
X& X::operator=(const X&);
Using this, you will be able to reuse the object in a chain-assignment.