
18 Jan
2008
18 Jan
'08
11:11 p.m.
On 18/01/2008, Robert Dailey <rcdailey@gmail.com> wrote:
I was wondering it is currently possible to give ptr_vector a custom deleter?
It looks like you might just have to overload delete_clone in a way that lets it be found through ADL ( http://boost.org/libs/ptr_container/doc/reference.html#the-clonable-concept ) or, if you need different deallocators for the same type, make a Clone Allocator ( http://boost.org/libs/ptr_container/doc/reference.html#the-clone-allocator-c... ) ~ Scott -- Sed quis custodiet ipsos custodes?