mpc
Haskell-like feature supports in C++
alternative_value_t.hpp File Reference
#include <variant>
#include <mpc/stdfundamental.hpp>

Go to the source code of this file.

Typedefs

template<std::size_t Idx, class Variant >
using mpc::alternative_value_t = typename std::variant_alternative_t< Idx, std::remove_cvref_t< Variant > >::value_type
 alternative_value_t More...
 

Typedef Documentation

◆ alternative_value_t

template<std::size_t Idx, class Variant >
using mpc::alternative_value_t = typedef typename std::variant_alternative_t<Idx, std::remove_cvref_t<Variant> >::value_type
Initial value:
{
typename std::variant_alternative_t<Idx, std::remove_cvref_t<Variant>>::value_type

alternative_value_t