C++ Actor Framework 0.18
|
Enable holds_alternative
, get
, get_if
, and visit
for variant
.
More...
#include <variant.hpp>
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 |
Enable holds_alternative
, get
, get_if
, and visit
for variant
.