tuple_element#

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

See also

pair

See also

tuple

Template Parameters:
  • N – This parameter selects the member of interest.

  • T – A pair type of interest.

  • N – This parameter selects the element of interest.

  • T – A tuple type of interest.