Title
pair and tuple of references need to better specify move-semantics
Status
resolved
Section
[pairs]
Submitter
DIN

Created on 2010-08-25.00:00:00 last changed 163 months ago

Messages

Date: 2011-05-09.23:20:35

Proposed resolution:

See n3140.

Date: 2010-11-18.14:01:09

[ 2010-11 Batavia: ]

Resolved by adopting n3140.

Date: 2010-10-24.00:00:00

[ 2010-10-24 Daniel adds: ]

Accepting n3140 would solve this issue.

Date: 2010-10-25.01:00:51

[ Resolution proposed by ballot comment ]

Replace the usage of std::move by that of std::forward and replace MoveConstructible and CopyConstructible requirements by other requirements.

Date: 2010-10-24.10:50:39

Addresses DE-16

Several pair and tuple functions in regard to move operations are incorrectly specified if the member types are references, because the result of a std::move cannot be assigned to lvalue-references. In this context the usage of the requirement sets MoveConstructible and CopyConstructible also doesn't make sense, because non-const lvalue-references cannot satisfy these requirements.

History
Date User Action Args
2010-11-18 14:01:09adminsetmessages: + msg5392
2010-11-18 14:01:09adminsetstatus: nad editorial -> resolved
2010-11-11 03:10:11adminsetstatus: open -> nad editorial
2010-10-25 21:30:05adminsetmessages: + msg5135
2010-10-25 01:00:51adminsetmessages: + msg5114
2010-10-24 22:33:31adminsetmessages: + msg5080
2010-10-24 10:50:39adminsetmessages: + msg4999
2010-08-25 00:00:00admincreate