match_eggs.hpp
Go to the documentation of this file.
typename std::enable_if< X, T >::type enable_if_t
Similar to C++14 std::enable_if_t.
Definition: type_traits.hpp:84
typename detail::unpack< MF, T >::type unpack
Metafunction that given a variadic template MF and a type ArgT, returns MF, or if ArgT is of th...
Definition: pack.hpp:101
auto match(VariantT &variant, FnTs &&...fns) -> estd::enable_if_t< detail::is_boost_variant< estd::decay_t< VariantT > >
Destructure a boost::variant with a given set of functions.
Definition: match_boost.hpp:69