Boost logo

Boost :

From: David B. Held (dheld_at_[hidden])
Date: 2002-05-03 15:24:28

"Mark Rodgers" <mark.rodgers_at_[hidden]> wrote in message
> [...]
> And finally, I'm convinced that shared_ptr's dynamic mechanism
> for specifying the deleter is correct. I should be able to write:

I think I'll add another c'tor for two template parameters. That
will allow full emulation of shared_ptr, including the custom
deleter. Also, take note of the situations in which using a
custom deleter is dangerous.

> [...]
> Oh, one more thing - I don't care too much for weak_ptr. I think
> the overhead doesn't reflect its (lack of) usefulness. But
> maybe I just need to be educated on how to use it... ;-)

My understanding is that it helps break cycles. I could be wrong,


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