------- Additional Comments From adah at netstd dot com 2005-08-10 04:31 ------- The error message I am imagining (not sure of its feasibility):
.../stl_iterator_base_types.h: In instantiation of `std::iterator_traits<std::vector<int, std::allocator<int> > >': .../stl_iterator_funcs.h: In instantiation of (return type of?) `std::distance (std::vector<int>, std::vector<int>' (as found by argument-dependent lookup: use a scope modifier like `::' if this is not what you want): test1.cpp:32: instantiated from here ... Yongwei -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15910