Fermat
Public Types | Public Methods | List of all members
cugar::compose_unary_after_binary< F1, F2 > Struct Template Reference

Detailed description

template<typename F1, typename F2>
struct cugar::compose_unary_after_binary< F1, F2 >

compose an unary operator F1 with a binary operator F2

#include <functors.h>

Public Types

typedef binary_function_tag function_tag
 
typedef F2::first_argument_type first_argument_type
 
typedef F2::second_argument_type second_argument_type
 
typedef F1::result_type result_type
 

Public Methods

CUGAR_HOST_DEVICE compose_unary_after_binary (const F1 f1, const F2 f2)
 
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: