Extended CUDA Library (ecuda)
2.0
|
Couples together a pair of values. More...
#include <utility.hpp>
Public Types | |
typedef T1 | first_type |
typedef T2 | second_type |
Public Member Functions | |
ECUDA_SUPPRESS_HD_WARNINGS __HOST__ __DEVICE__ | pair () |
template<typename U , typename V > | |
ECUDA_SUPPRESS_HD_WARNINGS __HOST__ __DEVICE__ | pair (const pair< U, V > &pr) |
ECUDA_SUPPRESS_HD_WARNINGS __HOST__ __DEVICE__ | pair (const first_type &a, const second_type &b) |
Public Attributes | |
T1 | first |
T2 | second |
Couples together a pair of values.
This class is equivalent to the std::pair class
Definition at line 53 of file utility.hpp.
typedef T1 ecuda::pair< T1, T2 >::first_type |
Definition at line 54 of file utility.hpp.
typedef T2 ecuda::pair< T1, T2 >::second_type |
Definition at line 55 of file utility.hpp.
|
inline |
Definition at line 59 of file utility.hpp.
|
inline |
Definition at line 61 of file utility.hpp.
|
inline |
Definition at line 63 of file utility.hpp.
T1 ecuda::pair< T1, T2 >::first |
Definition at line 56 of file utility.hpp.
T2 ecuda::pair< T1, T2 >::second |
Definition at line 57 of file utility.hpp.