This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bounds checking in STL containers


On 15 October 2012 18:14, Ахриев Альберт wrote:
> Hi All,
>
> It appears that operator[] in STL containers (e.g. vector, deque) does not check bounds any more (g++ 4.7.2).

If you want to discuss the C++ library then you should mail the
libstdc++@gcc.gnu.org list.

> Two-three generations ago g++ was very cautious about consistency checking but not now.
>
> I would appeal to developers to reconsider this pretty tough decision.

We haven't removed any bounds checking.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]