This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/15910] can't compile self defined void distance(std::vector<T>, std::vector<T>)
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Aug 2005 10:13:11 -0000
- Subject: [Bug libstdc++/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 gdr at integrable-solutions dot net 2005-08-04 10:13 -------
Subject: Re: can't compile self defined void distance(std::vector<T>, std::vector<T>)
"adah at netstd dot com" <gcc-bugzilla@gcc.gnu.org> writes:
| 1) This bug is not in libstdc++, but in the C++ compiler.
yes and no.
[...]
| 3) To complicate the matter, all "good" compilers I know fail in this case.
| However, I still believe it is the problem of the compilers.
Please take ti to the C++ standard committee. The behaviour is that
described by the standard. If you don't like it, have the committee
change it. If you think name lookup is an easy exercise, give it a try.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15910