This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/31247] std::vector::iterator::value_type is accessible
- From: "chris at bubblescope dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Mar 2007 17:52:17 -0000
- Subject: [Bug libstdc++/31247] std::vector::iterator::value_type is accessible
- References: <bug-31247-1902@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from chris at bubblescope dot net 2007-03-17 17:52 -------
The main problem I can see with changing this is that you would have to decide
if you were going to remove the same options from the iterators of all other
standard containers. To not do so would seem to be inconsistent, but doing so
would probably break a huge amount of code.
This seems to be part of a larger issue, should these typedefs be defined in
any of the standard iterators. Having an "offical decision" by the standards
committee would probably be useful.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31247