Template Function beluga::detail::tuple_index_helper

Function Documentation

template<class T, class ...Args>
constexpr std::size_t beluga::detail::tuple_index_helper() noexcept

Help method that finds a tuple element index that matches an input type.

Tuple types will be decayed before comparing, so tuple_index_helper<T, Args…> can find T&, const T& and other variants in the tuple types.