Boost logo

Boost :

Subject: Re: [boost] [Root Pointer] Benchmark
From: Phil Bouchard (philippeb8_at_[hidden])
Date: 2016-03-15 21:00:59


On 03/15/2016 08:42 PM, Gavin Lambert wrote:
>
> Admittedly I'm not familiar with the changes to allocators in C++11 yet,
> but C++03 allocators support accepting an allocator (even a stateful
> one) of one type and then using it to make allocations of a different
> type, via rebind and a templated constructor. std::list and friends use
> that functionality extensively.

Yes I'm using rebinds extensively:
https://github.com/philippeb8/root_ptr/blob/master/include/boost/smart_ptr/detail/node_base.hpp#L131


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk