class template
std::shared_future
- Header
<future>- Scope
std- cppreference
- std::shared_future
Synopsis
template<class R>
class shared_future;Member functions
| Name | Declaration |
|---|---|
shared_futureconstructor · 4 overloads | shared_future() +3 more |
~shared_futuredestructor | ~shared_future() |
operator=operator · 2 overloads | shared_future& operator=(const shared_future& rhs) +1 more |
getmember function | /* implementation-defined */::type get() const |
validmember function | bool valid() const |
waitmember function | void wait() const |
wait_formember function template | future_status wait_for(const chrono::duration<Rep, Period>& rel_time) const |
wait_untilmember function template | future_status wait_until(const chrono::time_point<Clock, Duration>& abs_time) const |