Created on 2015-05-08.00:00:00 last changed 50 months ago
[ 2020-11-09 Resolved for C++20. Status changed: Tentatively Resolved → Resolved. ]
[ 2020-02 Resolved by the adoption of 1203 in Prague. ]
[ 2015-06, Telecon ]
JW: think this needs proper consideration, it would make
stream() >> x >> y >> zgo from 3 operator>> calls to 6 operator>> calls, and wouldn't prevent dangling references (change the example to auto&&)
Consider:
auto& is = make_istream() >> x; // oops, istream object is already gone
With a basic_istream&& return type, the above would be ill-formed, and generally we'd preserve the value category properly.
History | |||
---|---|---|---|
Date | User | Action | Args |
2020-11-09 22:09:58 | admin | set | messages: + msg11596 |
2020-02-14 11:24:43 | admin | set | messages: + msg11115 |
2020-02-14 11:24:43 | admin | set | status: new -> resolved |
2015-09-27 20:30:23 | admin | set | messages: + msg7549 |
2015-05-08 00:00:00 | admin | create |