FMI 1.0
FaaS Message Interface
|
Small wrapper around an arbitrary C++ binary function with signature T(T,T), i.e. accepting two arguments of type T and returning one of type T. More...
#include <Function.h>
Public Member Functions | |
Function (std::function< T(T, T)> f, bool commutative, bool associative) | |
T | operator() (T a, T b) const |
Public Attributes | |
bool | commutative |
User provided information about commutativity. More... | |
bool | associative |
User provided information about associativity. More... | |
Small wrapper around an arbitrary C++ binary function with signature T(T,T), i.e. accepting two arguments of type T and returning one of type T.
|
inline |
|
inline |
bool FMI::Utils::Function< T >::associative |
User provided information about associativity.
bool FMI::Utils::Function< T >::commutative |
User provided information about commutativity.