Fermat
|
A functor to compute equality to a given constant
#include <functors.h>
Public Types | |
typedef unary_function_tag | function_tag |
typedef T | argument_type |
typedef bool | result_type |
Public Methods | |
CUGAR_HOST_DEVICE | eq_constant (const T c) |
CUGAR_HOST_DEVICE bool | operator() (const T &v) const |
|
inline |
constructor
c | constant value |