Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-02-27 18:21:20

Daniel James <daniel_at_[hidden]> writes:

> David Abrahams wrote:
>> There's a specialization of vector<bool, allocator<bool> > in the
>> standard whose iterators iterate over bits and use a proxy reference
>> and therefore are not even conforming forward iterators.
>> vector<bool,A> for A != allocator<bool> is still required to have
>> conforming random-access iterators.
> But I don't think that means that you need different iterator types for
> different allocators. The data is still just raw data, an array of (say)
> chars instead of bools.


is different from


for all A != std::allocator<bool>



is different from


for all A != std::allocator<bool>


Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at