[Bug c++/15910] can't compile self defined void distance(std::vector<T>, std::vector<T>)

king dot benjamin at mh-hannover dot de gcc-bugzilla@gcc.gnu.org
Thu Jun 10 14:44:00 GMT 2004


------- Additional Comments From king dot benjamin at mh-hannover dot de  2004-06-10 14:44 -------
Sorry, I forgot the compiler output when compilation fails: 
 
----
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.
2/include/g++-v3/bits/stl_iterator_base_types.h: In instantiation of `std::
iterator_traits<std::vector<double,
 std::allocator<double> > >':
minifail.cpp:11:   instantiated from here
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.
2/include/g++-v3/bits/stl_iterator_base_types.h:126: error: no
   type named `iterator_category' in `class std::vector<double,
   std::allocator<double> >'
----

-- 


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



More information about the Gcc-bugs mailing list