[LLVMbugs] [Bug 12139] CLANG copy ctor with default arguments disregard passed-in arguments when invoked with an Rvalue source object
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Mar 9 17:10:15 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=12139
Sean Hunt <scshunt at csclub.uwaterloo.ca> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |scshunt at csclub.uwaterloo.ca
Resolution|INVALID |
--- Comment #3 from Sean Hunt <scshunt at csclub.uwaterloo.ca> 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.
More information about the llvm-bugs
mailing list