hpx/datastructures/variant_helper.hpp

See Public API for a list of names and headers that are part of the public HPX API.

namespace hpx
namespace adl_barrier

Functions

template<std::size_t I, typename ...Ts>
constexpr util::at_index<I, Ts...>::type &get(std::variant<Ts...> &var)
template<std::size_t I, typename ...Ts>
constexpr util::at_index<I, Ts...>::type const &get(std::variant<Ts...> const &var)
template<std::size_t I, typename ...Ts>
constexpr util::at_index<I, Ts...>::type &&get(std::variant<Ts...> &&var)
template<std::size_t I, typename ...Ts>
constexpr util::at_index<I, Ts...>::type const &&get(std::variant<Ts...> const &&var)