[Bug c++/22206] gcc overload resolution fails to follow "using" in some cases

2005-06-28 Thread bangerth at dealii 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 cal

[Bug c++/22206] gcc overload resolution fails to follow "using" in some cases

2005-06-27 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-27 23:07 --- This is invalid code but I don't have the time to explain why except to say that when inside a namespace, you look into the inner most namespace first and if it does not find any then the outer for overl