[LLVMbugs] [Bug 11003] clang cannot find a conversion in c++0x mode

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 4 17:18:52 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=11003

Douglas Gregor <dgregor at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Douglas Gregor <dgregor at apple.com> 2011-10-04 19:18:50 CDT ---
(In reply to comment #3)
> Hmm... I think clang is messing up here: it's somehow picking the
> Value(Value&&) constructor, but realizes it isn't viable when it actually tries
> to perform the conversion in question.

Eli is correct. We shouldn't have allowed the binding to the rvalue reference
in the first place. Fixed in Clang r141137.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list