Template Struct tuple_element¶
Defined in File pair.h
Struct Documentation¶
-
template<int
N, classT>
structtuple_element¶ This convenience metafunction is included for compatibility with
tuple. It returns either the type of apair'sfirst_typeorsecond_typein its nested type,type.This metafunction returns the type of a
tuple'sNth element.- Template Parameters
N: This parameter selects the member of interest.T: Apairtype of interest.
- See
- See
- Template Parameters
N: This parameter selects the element of interest.T: Atupletype of interest.
Public Types
-
typedef tuple_element<N - 1, Next>::type
type¶ The result of this metafunction is returned in
type.