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, kalb at, bjorn.karlsson at, gregod at, wekempf at