Boost logo

Boost :

From: Achilleas Margaritis (axilmar_at_[hidden])
Date: 2007-09-21 16:27:34


O/H Larry Evans έγραψε:
> On 09/21/07 13:07, Larry Evans wrote:
> [snip]
>>> The _list template has been replaced with boost::intrusive::list. But
>>> what does it have to do with the STL anyway? _list was there in order to
>>> keep blocks around, as a faster alternative to std::list.
>>>
>> I'm not saying modify _list in the collector, I'm only saying you could
>> modify it to use:
>>
>> Allocator<T>::pointer _list<T>::_begin;
>>
>> instead of:
>>
>> T* _list<T>::_begin;
>>
> Sorry, I didn't look closely enough a _list. It doesn't allocate
> any nodes. I thought (based on std::list interface) that it did.
> Please disregard suggestions about adding allocator template
> parameter to _list.

Ok :-)


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