Determine whether or not BinaryOp's functor is of the form bool operator()(const T& a, const T&b) or bool operator()(const T& a, const T&b, unsigned int idx)
More...
Determine whether or not BinaryOp's functor is of the form bool operator()(const T& a, const T&b) or bool operator()(const T& a, const T&b, unsigned int idx)
Definition at line 879 of file util_type.cuh.
Data Structures | |
| struct | SFINAE5 |
| struct | SFINAE6 |
| struct | SFINAE7 |
| struct | SFINAE8 |
Static Public Attributes | |
| static const bool | HAS_PARAM = sizeof(Test<BinaryOp>(NULL)) == sizeof(char) |
Whether the functor BinaryOp has a third unsigned int index param. | |
Static Private Member Functions | |
| template<typename BinaryOpT > | |
| __host__ static __device__ char | Test (SFINAE5< BinaryOpT, &BinaryOpT::operator()> *) |
| template<typename BinaryOpT > | |
| __host__ static __device__ char | Test (SFINAE6< BinaryOpT, &BinaryOpT::operator()> *) |
| template<typename BinaryOpT > | |
| __host__ static __device__ char | Test (SFINAE7< BinaryOpT, &BinaryOpT::operator()> *) |
| template<typename BinaryOpT > | |
| __host__ static __device__ char | Test (SFINAE8< BinaryOpT, &BinaryOpT::operator()> *) |
| template<typename BinaryOpT > | |
| static int | Test (...) |
|
static |
Whether the functor BinaryOp has a third unsigned int index param.
Definition at line 908 of file util_type.cuh.