C++ Actor Framework 0.18
Loading...
Searching...
No Matches
List of all members
caf::sum_type_access< variant< Ts... > > Struct Template Reference

Enable holds_alternative, get, get_if, and visit for variant. More...

#include <variant.hpp>

Inheritance diagram for caf::sum_type_access< variant< Ts... > >:
caf::default_sum_type_access< variant< Ts... > >

Additional Inherited Members

- Public Types inherited from caf::default_sum_type_access< variant< Ts... > >
using types = typename T::types
 
using type0 = typename detail::tl_head< types >::type
 
- Static Public Member Functions inherited from caf::default_sum_type_access< variant< Ts... > >
static bool is (const variant< Ts... > &x, sum_type_token< U, Pos > token)
 
static U & get (variant< Ts... > &x, sum_type_token< U, Pos > token)
 
static const U & get (const variant< Ts... > &x, sum_type_token< U, Pos > token)
 
static U * get_if (variant< Ts... > *x, sum_type_token< U, Pos > token)
 
static const U * get_if (const variant< Ts... > *x, sum_type_token< U, Pos > token)
 
static Result apply (variant< Ts... > &x, Visitor &&visitor, Ts &&... xs)
 
static Result apply (const variant< Ts... > &x, Visitor &&visitor, Ts &&... xs)
 
- Static Public Attributes inherited from caf::default_sum_type_access< variant< Ts... > >
static constexpr bool specialized
 

Detailed Description

template<class... Ts>
struct caf::sum_type_access< variant< Ts... > >

Enable holds_alternative, get, get_if, and visit for variant.


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