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

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Feb 9 02:01:00 GMT 2013


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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-02-09 02:01:21 UTC ---
To be specific, of course using a name like _M_impl doesn't lead to portable
code ... that's kinda the point of reserved names. We use them for our own
purposes, any purposes we want, and programs that use them are inherently
non-portable.



More information about the Gcc-bugs mailing list