CUB  
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Methods | Public Members | List of all members
cub::InequalityWrapper< EqualityOp > Struct Template Reference

Detailed description

template< typename EqualityOp>
struct cub::InequalityWrapper< EqualityOp >

Inequality functor (wraps equality functor)

Public Methods

__host__ __device__ __forceinline__ InequalityWrapper (EqualityOp op)
 Constructor. More...
 
template<typename T >
__host__ __device__
__forceinline__ bool 
operator() (const T &a, const T &b)
 Boolean inequality operator, returns (a != b) More...
 

Public Members

EqualityOp op
 Wrapped equality operator. More...
 

Constructor & Destructor Documentation

template<typename EqualityOp >
__host__ __device__ __forceinline__ cub::InequalityWrapper< EqualityOp >::InequalityWrapper ( EqualityOp  op)
inline

Constructor.

Member Function Documentation

template<typename EqualityOp >
template<typename T >
__host__ __device__ __forceinline__ bool cub::InequalityWrapper< EqualityOp >::operator() ( const T &  a,
const T &  b 
)
inline

Boolean inequality operator, returns (a != b)

Member Data Documentation

template<typename EqualityOp >
EqualityOp cub::InequalityWrapper< EqualityOp >::op

Wrapped equality operator.


The documentation for this struct was generated from the following file: