thrust::tuple_size
Defined in thrust/pair.h
-
template<class T>
using thrust::tuple_size = _CUDA_VSTD::tuple_size<T> 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
tuple
type of interest.See also
Pair
See also
Tuple
- Template Parameters
Pair – A
pair
type of interest.T – A
tuple
type of interest.