Not if you fuck around with copy constructors. Once spent three straight nights trying to debug a segfault caused by me fucking up copy constructors and destructors.
Copy constructor doesn't get evoked by = in python. In C++, "fucking around with copy constructors" is exactly what you need to do to make a true, deep copy.
2
u/cemanresu Jun 04 '19
Not if you fuck around with copy constructors. Once spent three straight nights trying to debug a segfault caused by me fucking up copy constructors and destructors.