Boost logo

Boost Users :

From: tom gee (rockonedge_at_[hidden])
Date: 2005-01-05 00:26:35


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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net