Fermat
Public Types | Public Methods | List of all members
cugar::compose_binary< F, G1, G2 > Struct Template Reference

Detailed description

template<typename F, typename G1, typename G2>
struct cugar::compose_binary< F, G1, G2 >

compose a binary function after two unary ones

#include <functors.h>

Public Types

typedef binary_function_tag function_tag
 
typedef G1::argument_type first_argument_type
 
typedef G2::argument_type second_argument_type
 
typedef F::result_type result_type
 

Public Methods

CUGAR_HOST_DEVICE compose_binary (const F f, const G1 g1, const G2 g2)
 
CUGAR_HOST_DEVICE result_type operator() (const first_argument_type &op1, const second_argument_type &op2) const
 

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