retrieving the value
| 2218 | } |
| 2219 | // retrieving the value |
| 2220 | typename detail::shared_state<R>::shared_future_get_result_type get() const |
| 2221 | { |
| 2222 | if(!this->future_) |
| 2223 | { |
| 2224 | boost::throw_exception(future_uninitialized()); |
| 2225 | } |
| 2226 | return this->future_->get_sh(); |
| 2227 | } |
| 2228 | |
| 2229 | template <typename R2> |
| 2230 | typename boost::disable_if< is_void<R2>, typename detail::shared_state<R>::shared_future_get_result_type>::type |
no test coverage detected