http://llvm.org/bugs/show_bug.cgi?id=16993
David RodrÃguez <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |INVALID --- Comment #6 from David RodrÃguez <[email protected]> --- Sorry for the confusion, I did not take into account 17.6.4.9/1, bullet 3: - If a function argument binds to an rvalue reference parameter, the implementation may assume that this parameter is a unique reference to this argument. The program calling 'a = std::move(a)' is violating the requirements placed on programs in the standard and the behavior of the library is not guaranteed. It could even 'assert' if it wants to. -- 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
