Fermat
Public Types | Public Methods | Public Members | List of all members
cugar::binder1st< F, C > Struct Template Reference

Detailed description

template<typename F, typename C>
struct cugar::binder1st< F, C >

A functor to bind the first argument of a binary operator to a constant

#include <functors.h>

Public Types

typedef unary_function_tag function_tag
 
typedef F::first_argument_type argument_type
 
typedef F::result_type result_type
 

Public Methods

CUGAR_HOST_DEVICE binder1st (const F &f, const C c)
 
CUGAR_HOST_DEVICE uint32 operator() (const uint32 op) const
 

Public Members

functor
 
first
 

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