unspecialized | template <class T> class tuple_size; |
---|---|
generic cv-specializations | template <class T> class tuple_size<const T>; template <class T> class tuple_size<volatile T>; template <class T> class tuple_size<const volatile T>; |
tuple specialization | template <class... Types> struct tuple_size<tuple<Types...> >; |
constexpr
).<tuple>
header as:
|
|
constexpr
value.const
and/or volatile
-qualified tuples and tuple-like objects, the class is specialized so that its value member is itself non cv-qualified (size_t for tuples).member constant | definition |
---|---|
value | The number of elements in the tuple or tuple-like object. This is a constexpr value of the unsigned integral type size_t. |
|
|
mytuple has 3 elements |