libcaf  0.15.3
Public Types | Static Public Attributes | Related Functions | List of all members
caf::infer_handle_from_class< T, bool > Struct Template Reference

Deduces actor for dynamically typed actors, otherwise typed_actor<...> is deduced. More...

#include <infer_handle.hpp>

Public Types

using type = typename infer_handle_from_behavior< typename T::behavior_type >::type
 

Static Public Attributes

static constexpr spawn_mode mode = spawn_mode::clazz
 

Related Functions

(Note that these are not member functions.)

template<class T >
using infer_handle_from_class_t = typename infer_handle_from_class< T >::type
 

Detailed Description

template<class T, bool = std::is_base_of<abstract_actor, T>::value>
struct caf::infer_handle_from_class< T, bool >

Deduces actor for dynamically typed actors, otherwise typed_actor<...> is deduced.

Friends And Related Function Documentation

template<class T , bool = std::is_base_of<abstract_actor, T>::value>
template<class T >
using infer_handle_from_class_t = typename infer_handle_from_class<T>::type
related

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