$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David B. Held (dheld_at_[hidden])
Date: 2002-05-03 15:24:28
"Mark Rodgers" <mark.rodgers_at_[hidden]> wrote in message
news:007b01c1f2dd$3be5e1a0$0100a8c0_at_mshome.net...
> [...]
> 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,
though.
Dave