This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22206] gcc overload resolution fails to follow "using" in some cases
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jun 2005 13:58:00 -0000
- Subject: [Bug c++/22206] gcc overload resolution fails to follow "using" in some cases
- References: <20050627230014.22206.kjd@duda.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2005-06-28 13:57 -------
Andrew is correct: name lookup proceeds from the present scope outward and
stops once it finds a matching name (note: name, not signature) or names. It
then tries to match the signature of the names to the call. This fails here.
There is no requirement that the compiler then resume looking for other names
in scopes further out.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22206