Template Struct VariantConvertible

Struct Documentation

template<typename Variant>
struct VariantConvertible

Convert an Alternative type to a Variant.

Public Types

typedef Variant variant_type

Public Functions

template<class T, typename std::enable_if<is_empty_variant<T>::value, bool>::type = true>
inline void operator()(T)
template<class T, typename std::enable_if<!is_empty_variant<T>::value && std::is_arithmetic<T>::value, bool>::type = true>
inline void operator()(T)
template<class T, typename std::enable_if<!is_empty_variant<T>::value && !std::is_arithmetic<T>::value, bool>::type = true>
inline void operator()(T)