Created on 2015-09-03.00:00:00 last changed 90 months ago
Proposed resolution:
This wording is relative to N4527.
Modify [futures.unique_future] as indicated:
R future::get(); R& future<R&>::get(); void future<void>::get();-14- Note: as described above, the template and its two required specializations differ only in the return type and return value of the member function get.
-15- Effects:
wait()s until the shared state is ready, then retrieves the value stored in the shared state
.;releases any shared state ([futures.state]).
[…]
[ 2016-08 - Chicago ]
Thurs AM: Moved to Tentatively Ready
The standard is usually very explicit on when a shared state is released, except for future::get for which it only states valid() == false as a postcondition.
History | |||
---|---|---|---|
Date | User | Action | Args |
2017-07-30 20:15:43 | admin | set | status: wp -> c++17 |
2016-11-14 03:59:28 | admin | set | status: pending -> wp |
2016-11-14 03:55:22 | admin | set | status: ready -> pending |
2016-08-05 03:33:05 | admin | set | messages: + msg8410 |
2016-08-05 03:33:05 | admin | set | status: new -> ready |
2015-09-09 19:25:56 | admin | set | messages: + msg7510 |
2015-09-03 00:00:00 | admin | create |