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

Detailed description

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

A functor to compute inequality 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 neq_constant (const T c)
 
CUGAR_HOST_DEVICE bool operator() (const T &v) const
 

Constructor & Destructor Documentation

◆ neq_constant()

template<typename T >
CUGAR_HOST_DEVICE cugar::neq_constant< T >::neq_constant ( const T  c)
inline

constructor

Parameters
cconstant value

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