aegis.cpp
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Friends | List of all members
aegis::promise< T > Class Template Reference

promise<T> More...

#include <futures.hpp>

Public Member Functions

 promise (asio::io_context *_io_context, std::recursive_mutex *_global_m) noexcept
 
 promise (promise &&x) noexcept
 
 promise (const promise &)=delete
 
promiseoperator= (promise &&x) noexcept
 
void operator= (const promise &)=delete
 
future< T > get_future () noexcept
 promise<T>::get_future()
 
template<typename... A>
void set_value (A &&...a) noexcept
 
void set_exception (std::exception_ptr ex) noexcept
 
template<typename Exception >
void set_exception (Exception &&e) noexcept
 

Friends

template<typename U >
class future
 
struct future_state< T >
 
struct future_state< void >
 

Detailed Description

template<class T>
class aegis::promise< T >

promise<T>


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