From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2005-05-23 16:31:37


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.

-- 
Caleb Epstein
caleb dot epstein at gmail dot com