Movatterモバイル変換


[0]ホーム

URL:



This page is a snapshot from the LWG issues list, see theLibrary Active Issues List for more information and the meaning ofResolved status.

1382.pair andtuple constructors shouldforward arguments

Section: 22.3[pairs]Status:ResolvedSubmitter: INCITSOpened: 2010-08-25Last modified: 2016-01-28

Priority:Not Prioritized

View all otherissues in [pairs].

View all issues withResolved status.

Discussion:

Addresses US-96

pair andtuple constructors and assignment operators usestd::move when they should usestd::forward. Thiscauses lvalue references to be erroneously converted torvalue references. Related requirements clauses are alsowrong.

[Resolution proposed by ballot comment]

See Appendix 1 - Additional Details

[2010-10-24 Daniel adds:]

Acceptingn3140 would solve this issue.

[2010-11 Batavia]

Resolved by adoptingn3140.

Proposed resolution:

Seen3140.


[8]ページ先頭

©2009-2026 Movatter.jp