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

Sean Hunt <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |INVALID

--- Comment #1 from Sean Hunt <[email protected]> 2011-11-04 09:46:13 
CDT ---
This is a library bug, not a clang bug. The explicit move constructor does not
suppress generation of the implicit copy constructor, but instead causes it to
be deleted [class.copy]/7, which clang correctly diagnoses, albeit rather
obtusely.

You are quite correct that shared_ptr should have an explicit copy constructor;
this is a library bug, not a compiler bug.

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to