Return value of overloaded assignment operatorSo it is basically for "chaining" operations, just like for overloading the << operator?
Return value of overloaded assignment operatorHello, when learning C++ I've been using a MyClass& return value when overloading the assignment op...
array of char without '\0' terminatedHello, from previously asking on here I've understood that the << operator has been overloaded fo...
Copy and swap idiom Ok thanks, so what would be the correct way of doing it? And what do you mean by synstastically wron...
Copy and swap idiom I wonder if [code] Actor::Actor& operator=(const Actor a) { swap(this->foo, a.foo); swap(this->...
This user does not accept Private Messages