Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2001-04-06 12:40:52

Gary Powell writes
>IMO shared_ptr needs a "release()" member function. Why? because I need to
>hand off the memory it holds to a regular pointer, which then will take full

and then


> This is a misuse of shared_ptr and I'll stop....

Probably right about shared_ptr, but what about scoped_ptr? It seems like
release() would make a nice addition to it.


Boost list run by bdawes at, gregod at, cpdaniel at, john at