thrust::tuple_element
Defined in thrust/pair.h
-
template<size_t N, class T>
using thrust::tuple_element = _CUDA_VSTD::tuple_element<N, T> This convenience metafunction is included for compatibility with
tuple
. It returns either the type of apair's
first_type
orsecond_type
in its nested type,type
.This metafunction returns the type of a
tuple's
N
th element.See also
Pair
See also
Tuple
- Template Parameters
N – This parameter selects the member of interest.
T – A
pair
type of interest.N – This parameter selects the element of interest.
T – A
tuple
type of interest.