Fermat
|
A functor to compute the binary AND with a mask
#include <functors.h>
Public Types | |
typedef T | argument_type |
typedef T | result_type |
Public Methods | |
CUGAR_HOST_DEVICE | mask_and (const T mask) |
CUGAR_HOST_DEVICE T | operator() (const T op) const |
|
inline |
constructor
mask | mask value |