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++/22206] gcc overload resolution fails to follow "using" in some cases


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


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