in C++, How can I give a class copy constructor and assignment operator the same functionality without making duplicate code
Copy constructor and = operator overload in C++: is a common function possible?