[llvm-bugs] [Bug 38203] use of deleted function

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 17 19:52:10 PDT 2018


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

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

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

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
This appears to be a GCC bug.

Both conversion functions are candidates for the initialization; the
non-deleted one is selected because it has a better conversion for its implicit
object parameter, by [over.match.best]/1.3, so we never reach
[over.match.best]/1.5 which would select the deleted function.

-- 
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/20180718/d98f673a/attachment.html>


More information about the llvm-bugs mailing list