https://bugs.llvm.org/show_bug.cgi?id=47967
Richard Smith <richard-l...@metafoo.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Richard Smith <richard-l...@metafoo.co.uk> ---
Looks like GCC has a bug here. Overloaded operators in a template are found by
unqualified lookup at the point of definition (which finds only the template)
plus ADL (which only looks in namespaces associated with the argument types, in
this case only namespace 'data'), so the non-template operator is not
considered in this example.
See http://clang.llvm.org/compatibility.html#dep_lookup for more information.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs