This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15910] can't compile self defined void distance(std::vector<T>, std::vector<T>)
- From: "king dot benjamin at mh-hannover dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jun 2004 14:44:12 -0000
- Subject: [Bug c++/15910] can't compile self defined void distance(std::vector<T>, std::vector<T>)
- References: <20040610143911.15910.king.benjamin@mh-hannover.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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