$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Kirit Sælensminde (kirit.saelensminde_at_[hidden])
Date: 2007-09-28 05:32:16
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.
>
By a quirk of excellent timing this recipe submitted earlier today
illustrates how to do it quite nicely.
http://www.boostcookbook.com/Recipe:/1234950
It still uses new and delete, but they look quite simple to replace.
K