Boost logo

Boost :

From: Dave Abrahams (abrahams_at_[hidden])
Date: 2000-01-29 15:53:07


on 1/29/00 3:33 PM, Mark Borgerding at mborgerding_at_[hidden] wrote:

> Is there a reason shared_ptr does not have a release()?

Probably because there is no way of finding all shared_pointers associated
with a given object. With linked_ptr, you can just traverse the list to do
it. When Greg delivers his double-indirection version of shared_ptr (with T*
and count stored together), it will be easier.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk