Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2007-12-22 04:58:30


Tobias Schwinger wrote:
> If we use a custom Allocator we'll also need a custom Smart Pointer
> that uses this Allocator. None of our Boost Smart Pointers support
> Allocators and the Factory should actually initialize a stateful
> Allocator within a Smart Pointer that does.

Doesn't shared_ptr support a custom deleter? A custom deleter is just an
allocator by another name/interface IMO...

John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net