------- Comment #2 from chris at bubblescope dot net  2007-03-17 17:19 -------
Depending on how you read it, 24.3.1 looks to me like it might require that. It
says that iterator_traits is defined to include:

typedef typename Iterator::value_type value_type;

and that it is specialised for various types of pointers. If we removed
std::vector<int>::iterator::value_type, we would then have to overload
iterator_traits for vector, and I'm not sure we are allowed to.

Out of interest, which compilers still have a pointer for
std::vector::iterator?


-- 

chris at bubblescope dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chris at bubblescope dot net


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

Reply via email to