libstdc++: std::shared_future< _Res & > Class Template Reference (original) (raw)
#include <[future](a00101%5Fsource.html)>
Public Member Functions | |
---|---|
shared_future (const shared_future &__sf) | |
shared_future (future< _Res & > &&__uf) noexcept | |
shared_future (shared_future &&__sf) noexcept | |
_Res & | get () const |
shared_future & | operator= (const shared_future &__sf) |
shared_future & | operator= (shared_future &&__sf) noexcept |
bool | valid () const noexcept |
void | wait () const |
future_status | wait_for (const chrono::duration< _Rep, _Period > &__rel) const |
future_status | wait_until (const chrono::time_point< _Clock, _Duration > &__abs) const |
template<typename _Res>
class std::shared_future< _Res & >
Partial specialization for shared_future<R&>
Definition at line 975 of file future.
◆ __result_type
◆ __state_type
◆ shared_future() [2/4]
Copy constructor.
Definition at line 983 of file future.
◆ shared_future() [3/4]
Construct from a future rvalue.
Definition at line 986 of file future.
◆ shared_future() [4/4]
Construct from a shared_future rvalue.
Definition at line 991 of file future.
◆ _M_get_result()
Wait for the state to be ready and rethrow any stored exception.
Definition at line 745 of file future.
◆ _M_swap()
◆ get()
Retrieving the value.
Definition at line 1009 of file future.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ valid()
◆ wait()
◆ wait_for()
◆ wait_until()
The documentation for this class was generated from the following file: