Template Struct tuple_size¶
Defined in File pair.h
Struct Documentation¶
-
template<class
T>
structtuple_size¶ This convenience metafunction is included for compatibility with
tuple. It returns2, the number of elements of apair, in its nested data member,value.This metafunction returns the number of elements of a
tupletype of interest.- Template Parameters
Pair: Apairtype of interest.
Public Static Attributes
-
const int
value= 1 + tuple_size<typename T::tail_type>::value¶ The result of this metafunction is returned in
value.