Boost logo

Boost Users :

From: Sohail Somani (s.somani_at_[hidden])
Date: 2005-05-23 16:53:44


> -----Original Message-----
> From: boost-users-bounces_at_[hidden]
> [mailto:boost-users-bounces_at_[hidden]] On Behalf Of
> Caleb Epstein
> Sent: Monday, May 23, 2005 2:32 PM
> To: boost-users_at_[hidden]
> Subject: Re: [Boost-users] Scoped_ptr + deleter
>
>
> On 5/23/05, Sohail Somani <s.somani_at_[hidden]> wrote:
> > Why doesn't scoped_ptr have an additional template
> parameter to accept
> > a deleter?
>
> Because that would make it larger than sizeof (T*). I
> believe the general consensus on this is to use shared_ptr or
> perhaps the upcoming policy_ptr.

For educational purposes, why is this important?


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