Subject: Re: [boost] scoped_ptr deleter
From: Berserker (berserker_r_at_[hidden])
Date: 2009-09-15 09:46:31
Stewart, Robert wrote:
> I'm sorry, I read your post too quickly, seeing "shared_ptr"
> where you wrote "scoped_ptr."
No problem :)
> That, of course, requires nothing more than a static member
> function in the supplied deleter type as your proposal implies.
I suggested a "deleter" (default boost::checked_deleter) instead of a static function because imho an operator()(T *p) is a preferable approach (it doesn't require a "specific" function name) and moreover boost::checked_deleter is already there :)
I really hope this patch will be applied.
Gossip, Sport, Notizie... Accendi la Messenger TV!