http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55841
Chris Jefferson <chris at bubblescope dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |chris at bubblescope dot
| |net
--- Comment #1 from Chris Jefferson <chris at bubblescope dot net> 2013-01-01
20:21:13 UTC ---
I agree this behaviour might be annoying, but but there is no chance of it
being changed, for efficency reasons. You will hey the same behaviour on all
standard containers.
For debugging purposes, look at the libstdc++ debugging mode, which will catch
these types of errors. However, I would not recommend using debug mode in
released applications.