Fermat
|
A functor to return the constant 1 cast to a given type
#include <functors.h>
Public Types | |
typedef unary_function_tag | function_tag |
typedef T | argument_type |
typedef R | result_type |
Public Methods | |
CUGAR_HOST_DEVICE R | operator() (const T op) const |