All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Public Member Functions | List of all members
paal::utils::scale_functor< Functor, ScaleType, ReturnType > Struct Template Reference

Functor that scales another functor. More...

#include <functors.hpp>

Public Member Functions

 scale_functor (Functor f, ScaleType s)
 constructor More...
 
template<typename Arg >
ReturnType operator() (Arg &&arg) const
 operator() More...
 

Detailed Description

template<typename Functor, typename ScaleType, typename ReturnType = ScaleType>
struct paal::utils::scale_functor< Functor, ScaleType, ReturnType >

Functor that scales another functor.

Definition at line 662 of file functors.hpp.

Constructor & Destructor Documentation

template<typename Functor, typename ScaleType, typename ReturnType = ScaleType>
paal::utils::scale_functor< Functor, ScaleType, ReturnType >::scale_functor ( Functor  f,
ScaleType  s 
)
inline

constructor

Parameters
f
s

Definition at line 670 of file functors.hpp.

Member Function Documentation

template<typename Functor, typename ScaleType, typename ReturnType = ScaleType>
template<typename Arg >
ReturnType paal::utils::scale_functor< Functor, ScaleType, ReturnType >::operator() ( Arg &&  arg) const
inline

operator()

Template Parameters
Arg
Parameters
arg
Returns

Definition at line 680 of file functors.hpp.


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