Pair
template <size_t N, class T> using tuple_element = see below;
template <class T> using tuple_size = see below;
template <class T, class U> using pair = see below;
Types
Type Alias tuple_element
template <size_t N, class T> using tuple_element = ::cuda::std::tuple_element< N, T >;
This convenience metafunction is included for compatibility with tuple
. It returns either the type of a pair's
first_type
or second_type
in its nested type, type
.
This metafunction returns the type of a tuple's
N
th element.
Template Parameters:
N
This parameter selects the member of interest.T
Apair
type of interest.N
This parameter selects the element of interest.T
Atuple
type of interest.
See:
Type Alias tuple_size
template <class T> using tuple_size = ::cuda::std::tuple_size< T >;
This convenience metafunction is included for compatibility with tuple
. It returns 2
, the number of elements of a pair
, in its nested data member, value
.
This metafunction returns the number of elements of a tuple
type of interest.
Template Parameters:
Pair
Apair
type of interest.T
Atuple
type of interest.
See:
Type Alias pair
template <class T, class U> using pair = ::cuda::std::pair< T, U >;
pair
is a generic data structure encapsulating a heterogeneous pair of values.
Template Parameters:
T1
The type ofpair's
first object type. There are no requirements on the type ofT1
.T1
’s type is provided bypair::first_type
.T2
The type ofpair's
second object type. There are no requirements on the type ofT2
.T2
’s type is provided bypair::second_type
.