23 #include <thrust/detail/config.h> 26 THRUST_NAMESPACE_BEGIN
47 template <
typename T1,
typename T2>
70 __host__ __device__
pair(
void);
77 inline __host__ __device__
78 pair(
const T1 &x,
const T2 &y);
89 template <
typename U1,
typename U2>
90 inline __host__ __device__
102 template <
typename U1,
typename U2>
103 inline __host__ __device__
104 pair(
const std::pair<U1,U2> &p);
110 inline __host__ __device__
124 template <
typename T1,
typename T2>
125 inline __host__ __device__
138 template <
typename T1,
typename T2>
139 inline __host__ __device__
140 bool operator<(const pair<T1,T2> &x,
const pair<T1,T2> &y);
152 template <
typename T1,
typename T2>
153 inline __host__ __device__
166 template <
typename T1,
typename T2>
167 inline __host__ __device__
180 template <
typename T1,
typename T2>
181 inline __host__ __device__
182 bool operator<=(const pair<T1,T2> &x,
const pair<T1,T2> &y);
194 template <
typename T1,
typename T2>
195 inline __host__ __device__
204 template <
typename T1,
typename T2>
205 inline __host__ __device__
218 template <
typename T1,
typename T2>
219 inline __host__ __device__
281 #include <thrust/detail/pair.inl> __host__ __device__ void swap(pair< T1, T2 > &x, pair< T1, T2 > &y)
second_type second
Definition: pair.h:64
T1 first_type
Definition: pair.h:52
__host__ __device__ bool operator>=(const pair< T1, T2 > &x, const pair< T1, T2 > &y)
T2 second_type
Definition: pair.h:56
first_type first
Definition: pair.h:60
__host__ __device__ pair< T1, T2 > make_pair(T1 x, T2 y)
__host__ __device__ bool operator==(const pair< T1, T2 > &x, const pair< T1, T2 > &y)
__host__ __device__ bool operator!=(const pair< T1, T2 > &x, const pair< T1, T2 > &y)
__host__ __device__ bool operator>(const pair< T1, T2 > &x, const pair< T1, T2 > &y)