SimGrid
3.18
Versatile Simulation of Distributed Systems
|
#include <future.hpp>
Public Member Functions | |
void | set_value (T &value) |
T & | get () |
![]() | |
Result () | |
Result (Result const &that) | |
Result (Result &&that) | |
~Result () | |
Result & | operator= (Result const &that) |
Result & | operator= (Result &&that) |
bool | is_valid () const |
void | reset () |
void | set_exception (std::exception_ptr e) |
void | set_value (std::reference_wrapper< T > &&value) |
void | set_value (std::reference_wrapper< T > const &value) |
std::reference_wrapper< T > | get () |
Extract the value from the future. More... | |
Additional Inherited Members | |
![]() | |
std::reference_wrapper< T > | value_ |
std::exception_ptr | exception_ |
|
inline |
|
inline |