From: Tobias Schwinger (schwinger_at_[hidden])
Date: 2003-09-25 09:29:59


> > I noticed that the design could be optimized towards
> > flexibility and better source code maintainance by
> > parametrizing the template with another type to decouple the
> > deletion behavior from the smart pointer template itself.
> >
>
> Isn't this functionality already there? The following is from the
> current documentation:
>
> template<class Y, class D> shared_ptr(Y * p, D d);

It is - but only in the shared_ptr