libstdc++: std::shared_future< void > Class Reference (original) (raw)
#include <[future](a00101%5Fsource.html)>
Public Member Functions | |
---|---|
shared_future (const shared_future &__sf) | |
shared_future (future< void > &&__uf) noexcept | |
shared_future (shared_future &&__sf) noexcept | |
void | 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 |
Explicit specialization for shared_future
Definition at line 1014 of file future.
◆ __result_type
◆ __state_type
◆ shared_future() [2/4]
Copy constructor.
Definition at line 1022 of file future.
◆ shared_future() [3/4]
Construct from a future rvalue.
Definition at line 1025 of file future.
◆ shared_future() [4/4]
Construct from a shared_future rvalue.
Definition at line 1030 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()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ valid()
◆ wait()
◆ wait_for()
◆ wait_until()
The documentation for this class was generated from the following file: