Thrust
thrust::tuple_element< N, T > Struct Template Reference

#include <thrust/pair.h>

Detailed Description

template<size_t N, class T>
struct thrust::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.

Template Parameters
NThis parameter selects the member of interest.
TA pair type of interest.

This metafunction returns the type of a tuple's Nth element.

Template Parameters
NThis parameter selects the element of interest.
TA tuple type of interest.
See also
pair
tuple

The documentation for this struct was generated from the following file: