help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Having at semantic for []


From: Marc Boyer
Subject: Re: Having at semantic for []
Date: Mon, 14 May 2007 18:36:48 +0000 (UTC)
User-agent: slrn/0.9.8.1pl1 (Debian)

Le 14-05-2007, Paul Pluzhnikov <ppluzhnikov-nsp@charter.net> a écrit :
> Marc Boyer <Marc.Boyer@enseeiht.yahoo.fr.invalid> writes:
>
>> is there a way to ask g++ to give the semantics of 
>> vector::at() (ie checking bounds) to vector::operator[]
>> in some 'debug mode'.
>
> For recent versions of g++ (3.4.0 and above), -D_GLIBCXX_DEBUG
> finds this error (and many others):

  Thank you very much.

Marc Boyer


reply via email to

[Prev in Thread] Current Thread [Next in Thread]