aegis.cpp
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Public Attributes | List of all members
aegis::continuation< Func, T > Struct Template Referencefinal

continuation<Func, T> More...

#include <futures.hpp>

Inheritance diagram for aegis::continuation< Func, T >:
aegis::continuation_base< T > aegis::task

Public Member Functions

 continuation (Func &&func, future_state< T > &&state)
 
 continuation (Func &&func, asio::io_context *_io_context, std::recursive_mutex *_global_m)
 
virtual void run () noexceptoverride
 
- Public Member Functions inherited from aegis::continuation_base< T >
 continuation_base (asio::io_context *_io_context, std::recursive_mutex *_global_m)
 
 continuation_base (future_state< T > &&state)
 
void set_state (T &&state)
 
void set_state (future_state< T > &&state)
 
future_state< T > * state () noexcept
 

Public Attributes

Func _func
 

Additional Inherited Members

- Protected Types inherited from aegis::continuation_base< T >
using future_type = future< T >
 
using promise_type = promise< T >
 
- Protected Attributes inherited from aegis::continuation_base< T >
future_state< T > _state
 

Detailed Description

template<typename Func, typename T>
struct aegis::continuation< Func, T >

continuation<Func, T>


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