c++/6229: gcc 3.1 namespace lookup seems to fail
Jason Merrill
jason@redhat.com
Tue Apr 9 11:26:00 GMT 2002
`Jason Merrill' changed the state to `closed'.
State-Changed-From-To: open-closed
State-Changed-By: jason
State-Changed-When: Tue Apr 9 18:30:54 2002
State-Changed-Why:
This is not a bug. The operator called is the one that takes a bool. This
happens because the unqualified lookup only finds the second one you
define, and argument-dependent lookup looks in std and ns. This worked in
2.95.3 because the standard library was in the global namespace, rather
than std.
More information about the Gcc-bugs
mailing list