[linux-audio-dev] [ot] [rant] gcc, you let me down one time toomany

David Cournapeau cournape at gmail.com
Thu Jun 9 11:11:31 UTC 2005


David Cournapeau wrote:

> eviltwin69 at cableone.net wrote:
>
>>
>>    I was under the impression that there was bounds checking going on 
>> with
>> vectors.  Is this not the case?
>>
>>  
>>
> Not necesserally: if you are using operator (), yes, if you use 
> operator [], no.
>
> David
>
Sorry, you should read "vec.at(index) does bound checking, not vec[index]"

David



More information about the Linux-audio-dev mailing list