This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/31247] std::vector::iterator::value_type is accessible



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]