
28 Sep
2007
28 Sep
'07
9:32 a.m.
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