Boost logo

Boost Users :

From: Chris Fairles (chris.fairles_at_[hidden])
Date: 2007-09-28 02:58:30


http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2232.html

shared_ptr in c++0x will have custom allocators

On 9/28/07, Zeljko Vrba <zvrba_at_[hidden]> wrote:
> 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 mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


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