std::tuple_element<std::array>
STD::元组[医]元素<std::Array>
Defined in header | | |
---|---|---|
template< std::size_t I, class T, std::size_t N > struct tuple_element<I, array<T, N> >; | | (since C++11) |
成员类型
Member type | Definition |
---|---|
type | the type of elements of the array |
可能的实施
模板<std::size[医][医][医]T I,T级,STD::大小[医]TN>结构元组[医]
*。
例
另见
tuple_element | obtains the type of the specified element (class template specialization) |
---|---|
std::tuple_element<std::pair> (C++11) | obtains the type of the elements of pair (class template specialization) |
© cppreference.com
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。