Boost logo

Boost :

From: Robert Dailey (rcdailey_at_[hidden])
Date: 2008-01-19 09:32:11


>
> 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-concept
> )

Thanks, I'll look into that and see if it works. However, I like the method
I proposed in my first email better. Is there a reason why it could not be
done this way? It seems more intuitive and simple. In addition, you wouldn't
need to rely on ADL.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk