Boost logo

Boost Users :

From: Zeljko Vrba (zvrba_at_[hidden])
Date: 2007-09-28 02:38:50


On Thu, Sep 27, 2007 at 08:21:00PM -0700, Cory Nelson wrote:
>
> It would be useful if shared_ptr and family provided a way to give a
> custom allocator. For instance, to replace the quick allocator with a
> lock-free one.
>
Eh, indeed. That's why I have switched to intrusive_ptr (which might
not be possible in your case).

If you read the FAQ about shared_ptr, you will see that configurability
has NOT been the goal and you will be "forwarded" to Alexandrescu's MC++D
for policy-based smart pointer design.


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