Boost logo

Boost Users :

From: Sohail Somani (s.somani_at_[hidden])
Date: 2006-11-28 19:33:22


> -----Original Message-----
> From: boost-users-bounces_at_[hidden]
> [mailto:boost-users-bounces_at_[hidden]] On Behalf Of David Klein
>
> Sohail Somani wrote:
> >> -----Original Message-----
> >> From: boost-users-bounces_at_[hidden]
> >> [mailto:boost-users-bounces_at_[hidden]] On Behalf Of mark cox
> >>
> >> wow, this seems like a great idea, a scoped_ptr with deleter
> >> would be v.useful.
> >> mark
> >>
> >
> > I've been thinking something like (just something I hacked
> together just
> > now). Not sure if there is a nicer way.
> >
[snip]
> +1 vote for this idea :)
>
> i actually kind of did this for my current project,
> because i needed a custom deleter for scoped_ptr,
> when shared_ptr was to much overhead...

As did I, but it was not for performance but for readability. Shared
pointers mean... Shared. Scoped don't.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net