5 Jan
2005
5 Jan
'05
5:26 a.m.
If you intention is to release the pointer, reset(0) can achieve this. The document says: "void reset(T * p = 0); // never throws Deletes the object pointed to by the stored pointer and then stores a copy of p ". With reset, you should be able assign another pointer.