actor-framework
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 = infer_handle_from_behavior_t< typename T::behavior_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_v<abstract_actor, T>>
struct caf::infer_handle_from_class< T, bool >

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

Friends And Related Function Documentation

◆ infer_handle_from_class_t

template<class T, bool = std::is_base_of_v<abstract_actor, T>>
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: