From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-05-09 05:55:41


From: "Gennadiy Rozental" <rogeeff_at_[hidden]>
> Why don't you name you semantic: ptr_with_custom_deleter?

This actually deserves a response. It seems that custom deleters are often
misunderstood or overemphasized. They are _not_ a central point of
shared_ptr's interface; there are other reasons for keeping a deleter along
with the pointer. Custom deleter support falls out for free from the
implementation, which is why we added the appropriate constructor.