Title
Clarify the state of a moved-from object
Status
resolved
Section
[library]
Submitter
Switzerland

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

Messages

Date: 2011-02-25.15:54:31

Proposed resolution:

Resolved by N3241

Date: 2011-02-25.00:00:00

[ 2011-02-25 P/R wording superseded by N3241. ]

Date: 2010-11-05.00:00:00

[ 2010-11-05 Beman provides exact wording. The wording was inspired by Dave Abrahams' message c++std-lib-28958, and refined with help from Alisdair, Daniel, and Howard. ]

Date: 2011-03-15.22:05:38

[ Resolution proposed by ballot comment ]

Consider putting a general statement to the same effect into clause 17.

Date: 2010-10-24.10:50:39

Addresses CH-18

The general approach on moving is that a library object after moving out is in a "valid but unspecified state". But this is stated at the single object specifications, which is error prone (especially if the move operations are implicit) and unnecessary duplication.

History
Date User Action Args
2011-03-22 08:05:22adminsetstatus: open -> resolved
2011-02-25 15:54:31adminsetmessages: + msg5546
2010-11-14 13:10:57adminsetstatus: nad -> open
2010-11-12 19:21:15adminsetstatus: open -> nad
2010-11-05 12:33:57adminsetmessages: + msg5293
2010-11-05 12:33:57adminsetmessages: + msg5292
2010-10-24 22:33:31adminsetmessages: + msg5059
2010-10-24 10:50:39adminsetmessages: + msg4983
2010-08-25 00:00:00admincreate