thrust
Public Types | List of all members
thrust::tuple_element< N, T > Struct Template Reference

#include <thrust/pair.h>

Public Types

typedef tuple_element< N-1, Next >::type type
 

Detailed Description

template<int 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 files: