Difference between revisions of "cpp/container/array/tuple element"
From cppreference.com
m (Text replace - "{{eq fun cpp" to "{{eq fun") |
m (r2.7.3) (Robot: Adding de, es, fr, it, ja, pt, ru, zh) |
||
Line 33: | Line 33: | ||
{{dcl list template | cpp/utility/pair/dcl list tuple_element}} | {{dcl list template | cpp/utility/pair/dcl list tuple_element}} | ||
{{dcl list end}} | {{dcl list end}} | ||
+ | |||
+ | [[de:cpp/container/array/tuple element]] | ||
+ | [[es:cpp/container/array/tuple element]] | ||
+ | [[fr:cpp/container/array/tuple element]] | ||
+ | [[it:cpp/container/array/tuple element]] | ||
+ | [[ja:cpp/container/array/tuple element]] | ||
+ | [[pt:cpp/container/array/tuple element]] | ||
+ | [[ru:cpp/container/array/tuple element]] | ||
+ | [[zh:cpp/container/array/tuple element]] |
Revision as of 21:02, 2 November 2012
Template:ddcl list begin <tr class="t-dsc-header">
<td>Defined in header
</td>
<array>
<td></td> <td></td> </tr> <tr class="t-dcl ">
<td >template< std::size_t I, class T, std::size_t N >
struct tuple_element<I, array<T, N> >;
</td>
struct tuple_element<I, array<T, N> >;
<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
This section is incomplete Reason: no eq fun |
Example
This section is incomplete Reason: no example |
See also
obtains the type of the specified element (class template specialization) | |
obtains the type of the elements of pair (class template specialization) |