Created on 2010-08-25.00:00:00 last changed 93 months ago
Proposed resolution:
Amend the note in 17.6.3.9 [res.on.arguments] p1 bullet 3.
[ Note: If a program casts an lvalue to an
rvaluexvalue while 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]
[ Adopted at 2010-11 Batavia ]
[ Batavia: Immediate ]
[ Pre-Batavia: ]
Walter Brown provides wording.
[ Resolution proposed by the ballot comment: ]
Rephrase the Note in terms of xvalue.
Addresses US-82
[res.on.arguments] p.1. b.3: The second Note can benefit by adopting recent nomenclature.
History | |||
---|---|---|---|
Date | User | Action | Args |
2017-03-21 22:56:50 | admin | set | messages: + msg9141 |
2017-03-21 22:56:50 | admin | set | messages: + msg9140 |
2017-03-21 22:56:50 | admin | set | messages: + msg9139 |
2017-03-21 22:56:50 | admin | set | messages: + msg9138 |
2011-08-23 20:07:26 | admin | set | status: wp -> c++11 |
2010-11-14 13:10:57 | admin | set | status: voting -> wp |
2010-11-13 01:17:02 | admin | set | status: open -> voting |
2010-11-13 01:11:40 | admin | set | status: immediate -> open |
2010-11-08 22:47:24 | admin | set | status: open -> immediate |
2010-11-08 03:13:15 | admin | set | messages: + msg5310 |
2010-10-24 10:50:39 | admin | set | messages: + msg4992 |
2010-08-25 00:00:00 | admin | create |