What operators do I have to overload to see all operations when passing an object to a function?

In C++11, you should add rvalue reference:

A(A&&);
void operator=(A&& a );

Leave a Comment