C++ Actor Framework  0.18
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
caf::result_base< Ts > Class Template Reference

Base type for all specializations of result. More...

#include <result.hpp>

Inheritance diagram for caf::result_base< Ts >:
Inheritance graph
Collaboration diagram for caf::result_base< Ts >:
Collaboration graph

Public Types

using types = detail::type_list< delegated< Ts... >, message, error >
 

Public Member Functions

 result_base (result_base &&)=default
 
 result_base (const result_base &)=default
 
result_baseoperator= (result_base &&)=default
 
result_baseoperator= (const result_base &)=default
 
template<class Enum , class = std::enable_if_t<is_error_code_enum_v<Enum>>>
 result_base (Enum x)
 
 result_base (error x)
 
 result_base (delegated< Ts... > x)
 
 result_base (const typed_response_promise< Ts... > &)
 
 result_base (const response_promise &)
 

Protected Member Functions

 result_base (detail::result_base_message_init)
 
template<class... Us>
 result_base (detail::result_base_message_init, Us &&... xs)
 

Protected Attributes

variant< delegated< Ts... >, message, errorcontent_
 

Detailed Description

template<class... Ts>
class caf::result_base< Ts >

Base type for all specializations of result.


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