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: "sylvain dot pion at sophia dot inria dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Mar 2007 17:35:16 -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 #3 from sylvain dot pion at sophia dot inria dot fr 2007-03-17 17:35 -------
I'm not sure about the standard requirements. My "user question" is that
I want to develop with GCC as my main compiler, and I want it to catch
non-portability bugs as much as possible.
@Chris: note that std::iterator_traits would not need to be specialized for
std::vector::iterator if it was made a friend of it, so that it would be the
only one able to access these types.
The compiler I know which still has a pointer for std::vector::iterator is PGCC
(the Portland Group Compiler).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31247