Two pointers pointing to same memory via class copy constructor. How to detect when one deletes the object?[quote]This isn't 1990's anymore. A well-written C++ class today will not define the copy constructo...
Two pointers pointing to same memory via class copy constructor. How to detect when one deletes the object?dhayden... Yes, I fully agree. This wasn't an exercise is creating a realistic app. Real workable ...
Two pointers pointing to same memory via class copy constructor. How to detect when one deletes the object?That's good to know. Does the compiler complain? Does the app crash or do you just end up with a mem...
Two pointers pointing to same memory via class copy constructor. How to detect when one deletes the object?Yes, I agree, there is a big hole in this implementation with the person class having a vector of pe...
Two pointers pointing to same memory via class copy constructor. How to detect when one deletes the object?Hi helios Right, so that's what I thought and as I had recently studied, just about everything but ...
This user does not accept Private Messages