Static Public Attributes | List of all members
thrust::tuple_size< T > Struct Template Reference

#include <thrust/pair.h>

Static Public Attributes

static const int value = 1 + tuple_size<typename T::tail_type>::value

Detailed Description

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

Template Parameters
PairA pair type of interest.

This metafunction returns the number of elements of a tuple type of interest.

Template Parameters
TA tuple type of interest.
See also

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