actor-framework
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
caf::variant_inspector_traits< shape_ptr > Struct Template Reference

Public Types

using value_type = shape_ptr
 

Static Public Member Functions

static auto type_index (const value_type &x)
 
template<class F >
static auto visit (F &&f, const value_type &x)
 
template<class U >
static void assign (value_type &x, [[maybe_unused]] U value)
 
template<class F >
static bool load (type_id_t type, F continuation)
 

Static Public Attributes

static constexpr type_id_t allowed_types []
 

Member Data Documentation

◆ allowed_types

constexpr type_id_t caf::variant_inspector_traits< shape_ptr >::allowed_types[]
static
Initial value:
= {
type_id_v<none_t>,
type_id_v<rectangle>,
type_id_v<circle>,
}

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