When does a reference become invalid ?I tried to answer the question myself and came up with an example. [code] #include<iostream> us...
Destructor for class that holds pointer to objectThanks Disch for the clear answer. I guess I have to choose. I'll look into the third solution and s...
Destructor for class that holds pointer to objectLets say we have a class that holds a pointer member to another object. If I delete that pointer in ...
This user does not accept Private Messages