Section: 126.96.36.199 [res.on.arguments] Status: C++11 Submitter: INCITS Opened: 2010-08-25 Last modified: 2017-03-22
Priority: Not Prioritized
View all other issues in [res.on.arguments].
View all issues with C++11 status.
188.8.131.52 [res.on.arguments] p.1. b.3: The second Note can benefit by adopting recent nomenclature.
[ Resolution proposed by the ballot comment: ]
Rephrase the Note in terms of xvalue.
[ Pre-Batavia: ]
Walter Brown provides wording.
[ Adopted at 2010-11 Batavia ]
Amend the note in 184.108.40.206 [res.on.arguments] p1 bullet 3.
[ Note: If a program casts an lvalue to an
rvaluewhile passing that lvalue to a library function (e.g. by calling the function with the argument move(x)), the program is effectively asking that function to treat that lvalue as a temporary. The implementation is free to optimize away aliasing checks which might be needed if the argument was anlvalue. — end note]