[Bug libstdc++/56257] std::vector allows access to the elements of _Vector_base

bangerth at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Feb 9 21:38:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56257

--- Comment #3 from Wolfgang Bangerth <bangerth at gmail dot com> 2013-02-09 21:37:55 UTC ---
:-) Sure, and of course I did tell him "don't do that". In essence it's a
question of how easy it is to shoot yourself in the foot by exposing internal
details of the implementation.



More information about the Gcc-bugs mailing list