------- Additional Comments From bangerth at dealii dot org  2005-07-23 21:27 
-------
gcc is actually correct. Per the using declaration in main(), you 
introduce N::foo into the scope of foo(), and when foo(enum1) is called 
we find the name foo inside namespace N and then stop to search, so ::foo 
isn't found in any case. 
 
What then happens is this: gcc has one non-template and one template, none 
of which match the function argument, so it says that there is no matching 
function. 
 
W. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20724

Reply via email to