thrust
Classes | Namespaces | Functions
pair.h File Reference

A type encapsulating a heterogeneous pair of elements. More...

#include <thrust/detail/config.h>
#include <utility>
#include <thrust/detail/pair.inl>

Go to the source code of this file.

Classes

struct  thrust::pair< T1, T2 >
 
struct  thrust::tuple_element< N, T >
 
struct  thrust::tuple_size< T >
 

Namespaces

 thrust
 thrust is the top-level namespace which contains all Thrust functions and types.
 

Functions

template<typename T1 , typename T2 >
__host__ __device__ bool thrust::operator== (const pair< T1, T2 > &x, const pair< T1, T2 > &y)
 
template<typename T1 , typename T2 >
__host__ __device__ bool thrust::operator< (const pair< T1, T2 > &x, const pair< T1, T2 > &y)
 
template<typename T1 , typename T2 >
__host__ __device__ bool thrust::operator!= (const pair< T1, T2 > &x, const pair< T1, T2 > &y)
 
template<typename T1 , typename T2 >
__host__ __device__ bool thrust::operator> (const pair< T1, T2 > &x, const pair< T1, T2 > &y)
 
template<typename T1 , typename T2 >
__host__ __device__ bool thrust::operator<= (const pair< T1, T2 > &x, const pair< T1, T2 > &y)
 
template<typename T1 , typename T2 >
__host__ __device__ bool thrust::operator>= (const pair< T1, T2 > &x, const pair< T1, T2 > &y)
 
template<typename T1 , typename T2 >
__host__ __device__ void thrust::swap (pair< T1, T2 > &x, pair< T1, T2 > &y)
 
template<typename T1 , typename T2 >
__host__ __device__ pair< T1, T2 > thrust::make_pair (T1 x, T2 y)
 

Detailed Description

A type encapsulating a heterogeneous pair of elements.