All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Public Member Functions | List of all members
paal::utils::return_constant_functor< T, t > Struct Template Reference

Functor returns always the same number. The number has to be known at compile time. More...

#include <functors.hpp>

Public Member Functions

template<typename... Args>
operator() (Args &&...args) const
 operator More...
 

Detailed Description

template<typename T, T t>
struct paal::utils::return_constant_functor< T, t >

Functor returns always the same number. The number has to be known at compile time.

Template Parameters
Ttype of returned value
treturn value

Definition at line 69 of file functors.hpp.

Member Function Documentation

template<typename T, T t>
template<typename... Args>
T paal::utils::return_constant_functor< T, t >::operator() ( Args &&...  args) const
inline

operator

Template Parameters
Args
Parameters
args
Returns

Definition at line 78 of file functors.hpp.


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