[LLVMbugs] [Bug 10217] Confusing error message with deleted implicit copy constructors/assignment operators

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Apr 2 14:01:00 PDT 2012


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

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

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

--- Comment #7 from Richard Smith <richard-llvm at metafoo.co.uk> 2012-04-02 16:01:00 CDT ---
Remaining issues fixed in r153894. Testcase in comment#0 now produces:

testcase.cpp:15:7: error: overload resolution selected implicitly-deleted copy
assignment operator
    s = foo();
      ^
testcase.cpp:5:5: note: copy constructor is implicitly deleted because
'__compressed_pair<int, int>' has a user-declared move constructor
    __compressed_pair(__compressed_pair&&) {}
    ^

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