Template Function ecl::generateFunctionObject(R(C::*)(A))

Function Documentation

template<typename C, typename A, typename R>
UnaryMemberFunction<C, A, R> ecl::generateFunctionObject(R (C::* function)(A))

Generate a binary function object from a unary member function.

Overloaded function type, this particular overload generates a binary function object from a unary member function.

See also

FunctionObjects.

Template Parameters
  • C – : the member function’s class type.

  • A – : the member function’s argument type.

  • R – : the member function’s return type.

Parameters

function – : the unary member function.

Returns

UnaryMemberFunction<C,A,R> : binary function object.