tuple_element
#
-
template<size_t N, class T>
using thrust::tuple_element = ::cuda::std::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
See also
- 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.