[llvm-bugs] [Bug 31078] unexpected "use of overloaded operator '==' is ambiguous"

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Nov 20 12:04:10 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=31078

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |INVALID

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Per P0136R1, there is an implicit conversion from B to A -- you can construct a
Master from a B, so you can construct an A from a B.

GCC trunk also implements P0136R1, and also rejects this due to the ambiguity.

-- 
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/20161120/c49bc5c0/attachment.html>


More information about the llvm-bugs mailing list