Namespaces
Variants
Actions

std::tuple_element<std::tuple>

From cppreference.com
< cpp‎ | utility‎ | tuple
 
 
Utilities library
General utilities
Relational operators (deprecated in C++20)
 
 
Defined in header <tuple>
template< std::size_t I, class... Types >
struct tuple_element< I, std::tuple<Types...> >;
(since C++11)

Provides compile-time indexed access to the types of the elements of the tuple.

Contents

[edit] Member types

Type Definition
type the type of Ith element of the tuple, where I is in [0sizeof...(Types))

[