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

Sean Hunt <[email protected]> changed:

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

--- Comment #3 from Sean Hunt <[email protected]> 2012-03-09 19:10:15 
CST ---
Reopening this bug as the fact that a copy constructor is being called is
irrelevant if the construction is not, in fact, copy construction. p31 is
applicable only during copy/move construction. See also CWG535 [1] which
clarifies that elision can be applied to constructors other than copy and move
constructors if they are selected to perform a copy or move operation, and was
applied to the working draft at Kona.

[1]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3330.html#535

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