Future::get() - make postcond testable by callers
Summary: SemiFuture::get() & Future::get() both render the `this` object in a consumed / moved-out state. However Future::get()'s postcondition was untestable by callers - it consumed the value within the core but left `this->valid()` true. Goal: make Future::get(): - function like SemiFuture::get() - testable by callers (see `valid()`) Reviewed By: yfeldblum Differential Revision: D7840699 fbshipit-source-id: 5102e9c3de026c021bf322b5109aafcc115207a2
Showing
Please register or sign in to comment