All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Public Member Functions | List of all members
paal::utils::lift_binary_operator_functor< FunctorLeft, FunctorRight, Operator > Struct Template Reference

#include <functors.hpp>

Public Member Functions

 lift_binary_operator_functor (FunctorLeft left=FunctorLeft(), FunctorRight right=FunctorRight(), Operator op=Operator())
 constructor More...
 
template<typename... Args>
auto operator() (Args &&...args) const -> decltype(std::declval< Operator >()(std::declval< FunctorLeft >()(std::forward< Args >(args)...), std::declval< FunctorRight >()(std::forward< Args >(args)...)))
 operator More...
 

Detailed Description

template<typename FunctorLeft, typename FunctorRight, typename Operator>
struct paal::utils::lift_binary_operator_functor< FunctorLeft, FunctorRight, Operator >

Functor stores binary operator "o" and two functors "f" and "g" for given "args" returns o(f(args), g(args))

Definition at line 836 of file functors.hpp.

Constructor & Destructor Documentation

template<typename FunctorLeft, typename FunctorRight, typename Operator>
paal::utils::lift_binary_operator_functor< FunctorLeft, FunctorRight, Operator >::lift_binary_operator_functor ( FunctorLeft  left = FunctorLeft(),
FunctorRight  right = FunctorRight(),
Operator  op = Operator() 
)
inline

constructor

Parameters
left
right
op

Definition at line 844 of file functors.hpp.

Member Function Documentation

template<typename FunctorLeft, typename FunctorRight, typename Operator>
template<typename... Args>
auto paal::utils::lift_binary_operator_functor< FunctorLeft, FunctorRight, Operator >::operator() ( Args &&...  args) const -> decltype(std::declval<Operator>()( std::declval<FunctorLeft>()(std::forward<Args>(args)...), std::declval<FunctorRight>()(std::forward<Args>(args)...)))
inline

operator

Template Parameters
Args
Returns

Definition at line 858 of file functors.hpp.


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