bounds checking in STL containers
Jonathan Wakely
jwakely.gcc@gmail.com
Mon Oct 15 17:19:00 GMT 2012
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.
More information about the Gcc
mailing list