SimGrid  3.14.159
Versatile Simulation of Distributed Systems
simgrid::xbt::Result< void > Class Template Reference

#include <future.hpp>

Inheritance diagram for simgrid::xbt::Result< void >:
simgrid::xbt::Result< std::nullptr_t >

Public Member Functions

void set_value ()
 
void get ()
 
- Public Member Functions inherited from simgrid::xbt::Result< std::nullptr_t >
 Result ()
 
 Result (Result const &that)
 
 Result (Result &&that)
 
 ~Result ()
 
Resultoperator= (Result const &that)
 
Resultoperator= (Result &&that)
 
bool is_valid () const
 
void reset ()
 
void set_exception (std::exception_ptr e)
 
void set_value (std::nullptr_t &&value)
 
void set_value (std::nullptr_t const &value)
 
std::nullptr_t get ()
 Extract the value from the future. More...
 

Additional Inherited Members

- Public Attributes inherited from simgrid::xbt::Result< std::nullptr_t >
std::nullptr_t value_
 
std::exception_ptr exception_
 

Member Function Documentation

◆ set_value()

void simgrid::xbt::Result< void >::set_value ( )
inline

◆ get()

void simgrid::xbt::Result< void >::get ( )
inline

The documentation for this class was generated from the following file: