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

From: David Cournapeau <cournape@email-addr-hidden>
Date: Thu Jun 09 2005 - 14:11:31 EEST

David Cournapeau wrote:

> eviltwin69@email-addr-hidden 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
Received on Thu Jun 9 16:15:08 2005

This archive was generated by hypermail 2.1.8 : Thu Jun 09 2005 - 16:15:08 EEST