Thrust
thrust::tuple_size< Pair > Struct Template Reference

#include <thrust/pair.h>

Detailed Description

template<typename Pair>
struct thrust::tuple_size< Pair >

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
pair
tuple

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