If the operator=
is properly defined, is it OK to use the following as copy constructor?
MyClass::MyClass(MyClass const &_copy)
{
*this
It is technically OK, if you have a working assignment operator (copy operator).
However, you should prefer copy-and-swap because: