首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

std::tuple_element<std::array>

Defined in header <array>

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)

代码语言:txt
复制
 © cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

扫码关注腾讯云开发者

领取腾讯云代金券