std::tuple_element<std::experimental::ranges::tagged> (3) - Linux Man Pages

std::tuple_element<std::experimental::ranges::tagged>: std::tuple_element<std::experimental::ranges::tagged>


std::tuple_element<std::experimental::ranges::tagged> - std::tuple_element<std::experimental::ranges::tagged>


template< std::size_t N, class Base, class... Tags >
struct tuple_element<N, std::experimental::ranges::tagged<Base, Tags...>> (ranges TS)
: std::tuple_element<N, Base> { };

The partial specialization of std::tuple_element for tagged provide compile-time access to the types of the tagged's elements, using tuple-like syntax. It simply forwards to std::tuple_element<N, Base>.

Member types

Member type Definition
type std::tuple_element_t<N, Base>

See also

                                                   obtains the type of the specified element
tuple_element (class template specialization)
                                                   obtains the type of the elements of array
std::tuple_element<std::array> (class template specialization)

std::tuple_element<std::pair> obtains the type of the elements of pair
                                                   (class template specialization)
                                                   obtains the size of a tagged
std::tuple_size<std::experimental::ranges::tagged> (class template specialization)