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

Sean Hunt <[email protected]> changed:

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

--- Comment #1 from Sean Hunt <[email protected]> 2011-07-10 00:31:43 
CDT ---
This is correct behavior, although the diagnostic is quite lacking.

The C++0x draft says that in the presence of a user-declared move constructor
or move assignment operator, the implicit copy constructor and copy assignment
operator are defined as deleted. Clang only recently implemented this, and I
guess GCC 4.6.1 does not.

-- 
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