This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of Resolved status.
1382.pair
and tuple
constructors should forward
arguments
Section: 22.3 [pairs] Status: Resolved Submitter: INCITS Opened: 2010-08-25 Last modified: 2016-01-28
Priority: Not Prioritized
View all other issues in [pairs].
View all issues with Resolved status.
Discussion:
Addresses US-96
pair
and tuple
constructors and assignment operators use std::move
when they should use std::forward
. This causes lvalue references to be erroneously converted to rvalue references. Related requirements clauses are also wrong.
[ Resolution proposed by ballot comment ]
See Appendix 1 - Additional Details
[ 2010-10-24 Daniel adds: ]
Accepting n3140 would solve this issue.
[ 2010-11 Batavia ]
Resolved by adopting n3140.
Proposed resolution:
See n3140.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4