POV-Ray : Newsgroups : povray.off-topic : Microsoft may have done something right... : Re: Microsoft may have done something right... Server Time
11 Oct 2024 01:22:47 EDT (-0400)
  Re: Microsoft may have done something right...  
From: Nicolas Alvarez
Date: 25 Mar 2008 13:47:47
Message: <47e948d3@news.povray.org>

> 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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.