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

Public Methods

__device__ __host__ BinaryFlip (BinaryOpT binary_op)
 
template<typename T , typename U >
__device__ auto operator() (T &&t, U &&u) -> decltype(binary_op(std::forward< U >(u), std::forward< T >(t)))
 

Public Members

BinaryOpT binary_op
 

Constructor & Destructor Documentation

template<typename BinaryOpT >
__device__ __host__ cub::BinaryFlip< BinaryOpT >::BinaryFlip ( BinaryOpT  binary_op)
inlineexplicit

Member Function Documentation

template<typename BinaryOpT >
template<typename T , typename U >
__device__ auto cub::BinaryFlip< BinaryOpT >::operator() ( T &&  t,
U &&  u 
) -> decltype(binary_op(std::forward<U>(u), std::forward<T>(t)))
inline

Member Data Documentation

template<typename BinaryOpT >
BinaryOpT cub::BinaryFlip< BinaryOpT >::binary_op

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