title: Checklist for writing copy constructor and assignment operator in C++
body: <p>Please write a list of tasks that a copy constructor and assignment operator need to do in C++ to keep exception safety, avoid memory leaks etc. </p>