[llvm-bugs] [Bug 38257] operator& definition causes unexplained error passing pointer-to-member to template parameter
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Jul 21 22:22:01 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=38257
Richard Smith <richard-llvm at metafoo.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
CC| |richard-llvm at metafoo.co.uk
--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
We're performing ADL for the & in &Y::field, which triggers instantiation of
the associated classes (including 'Foo<void>'). But we shouldn't be, because
Y::field is resolved to a non-static class member, so user-declared 'operator&'
functions are not relevant.
Fixed in r337653.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180722/ec51872a/attachment.html>
More information about the llvm-bugs
mailing list