Created on 2009-04-25.00:00:00 last changed 161 months ago
Proposed resolution:
Add a signature to the existing prototype in the synopsis of [ios] and in [basic.ios.members]:
void move(basic_ios& rhs); void move(basic_ios&& rhs);
[ 2009 Santa Cruz: ]
Move to Ready.
[ 2009-05-23 Howard adds: ]
Added overload, moved to Review.
[ Batavia (2009-05): ]
Tom prefers, on general principles, to provide both overloads. Alisdair agrees.
Howard points out that there is no backward compatibility issue as this is new to C++0X.
We agree that both overloads should be provided, and Howard will provide the additional wording. Move to Open.
With the rvalue reference changes in N2844 basic_ios::move no longer has the most convenient signature:
void move(basic_ios&& rhs);
This signature should be changed to accept lvalues. It does not need to be overloaded to accept rvalues. This is a special case that only derived clients will see. The generic move still needs to accept rvalues.
History | |||
---|---|---|---|
Date | User | Action | Args |
2011-08-23 20:07:26 | admin | set | status: wp -> c++11 |
2010-10-21 18:28:33 | admin | set | messages: + msg743 |
2010-10-21 18:28:33 | admin | set | messages: + msg742 |
2010-10-21 18:28:33 | admin | set | messages: + msg741 |
2010-10-21 18:28:33 | admin | set | messages: + msg740 |
2009-04-25 00:00:00 | admin | create |