------- Comment #2 from dg001 at t-online dot de  2006-02-05 23:14 -------
The first statement in my code  doesn't use any namespace

double result1 = f(d);

So ADL should take the function with the signature (float d), which is in
global namespace.

There is of course a second statement in my code:
double result2 = test::f(d);
and yes, this works correctly.

So please have a closer look at the *first* statement, which doesn't compile to
correct code.


-- 

dg001 at t-online dot de changed:

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


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

Reply via email to