libycxx

class template

std::shared_future

Header
<future>
Scope
std

Synopsis

template<class R>
class shared_future;

Member functions

NameDeclaration
shared_futureconstructor · 4 overloadsshared_future() +3 more
~shared_futuredestructor~shared_future()
operator=operator · 2 overloadsshared_future& operator=(const shared_future& rhs) +1 more
getmember function/* implementation-defined */::type get() const
validmember functionbool valid() const
waitmember functionvoid wait() const
wait_formember function templatefuture_status wait_for(const chrono::duration<Rep, Period>& rel_time) const
wait_untilmember function templatefuture_status wait_until(const chrono::time_point<Clock, Duration>& abs_time) const