|
|
> On Tue, 25 Mar 2008 17:34:14 +0100, Nicolas Alvarez
> <nic### [at] gmailisthebestcom> wrote:
>> C++ STL vector template class has a specialization for 'bool' that
>> uses 1 bit per element too. That is, a vector<bool> takes 1 bit per
>> element.
>
> Yes, but that specialisation is largely considered a mistake because it
> breaks the interface associated with the generic std::vector.
What exactly is broken in the interface?
Post a reply to this message
|
|