MEL
Microthread & Execution library
mel::core::WaitResult< T > Class Template Reference

Wrapper for future value after wait. More...

#include <Future.h>

Public Member Functions

 WaitResult (const mel::core::Future< T > &f)
 
bool isValid () const
 
mel::core::Future< T >::ValueType::CReturnType value () const
 
mel::core::Future< T >::ValueType::ReturnType value ()
 
std::exception_ptr error () const
 
void setError (std::exception_ptr err)
 
const mel::core::Future< T > & getFuture () const noexcept
 access internal just if needed to do excepctional things
 
core::Future< T > & getFuture () noexcept
 

Detailed Description

template<class T>
class mel::core::WaitResult< T >

Wrapper for future value after wait.


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