Fermat
Public Types | Public Methods | List of all members
cugar::minus_one< T > Struct Template Reference

Detailed description

template<typename T>
struct cugar::minus_one< T >

A functor to return the input value minus 1

#include <functors.h>

Public Types

typedef unary_function_tag function_tag
 
typedef T argument_type
 
typedef T result_type
 

Public Methods

CUGAR_HOST_DEVICE T operator() (const T op) const
 

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