tetl 0.1.0
Embedded Template Library
|
etl::variant class template More...
Classes | |
struct | variant< Ts > |
Functions | |
template<typename F, typename... Vs> | |
constexpr auto | visit (F &&f, Vs &&... vs) |
Applies the visitor vis (Callable that can be called with any combination of types from variants) to the variants vars. | |
template<typename F, typename... Vs> | |
constexpr auto | visit_with_index (F &&f, Vs &&... vs) |
Applies the visitor vis (Callable that can be called with any combination of types from variants) to the variants vars. | |
etl::variant class template
|
Applies the visitor vis (Callable that can be called with any combination of types from variants) to the variants vars.
Every type in etl::remove_reference_t<Variants>... may be a (possibly const-qualified) specialization of etl::variant.
|
Applies the visitor vis (Callable that can be called with any combination of types from variants) to the variants vars.
Every type in etl::remove_reference_t<Variants>... may be a (possibly const-qualified) specialization of etl::variant.
v.index
v.value()