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 c++/15910] can't compile self defined void distance(std::vector<T>, std::vector<T>)


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


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