cub::CastOp

Defined in cub/thread/thread_operators.cuh

template<typename B>
struct CastOp

Default cast functor.

Public Functions

template<typename A>
inline B operator()(A &&a) const

Cast operator, returns (B) a