Namespaces
Variants
Views
Actions

std::tuple_element<std::array>

From cppreference.com
< cpp‎ | container‎ | array
Revision as of 22:02, 2 November 2012 by P12bot (Talk | contribs)

Template:ddcl list begin <tr class="t-dsc-header">

<td>
Defined in header <array>
</td>

<td></td> <td></td> <tr class="t-dcl ">

<td >
template< std::size_t I, class T, std::size_t N >
struct tuple_element<I, array<T, N> >;
</td>

<td class="t-dcl-nopad"> </td> <td > (since C++11) </td> </tr> Template:ddcl list end

Provides compile-type indexed access to the type of the elements of the array using tuple-like interface

Contents

Member types

Member type Definition
type the type of elements of the array

Possible implementation

Example

See also

obtains the type of the specified element
(class template specialization) [edit]
obtains the type of the elements of pair
(class template specialization) [edit]