Sierra Toolkit Version of the Day
eastl::pointer_to_binary_function< Arg1, Arg2, Result > Class Template Reference

#include <functional_eastl.h>

Inherits eastl::binary_function< Argument1, Argument2, Result >.

List of all members.

Public Member Functions

 pointer_to_binary_function (Result(*pFunction)(Arg1, Arg2))
Result operator() (Arg1 x, Arg2 y) const

Protected Attributes

Result(* mpFunction )(Arg1, Arg2)

Detailed Description

template<typename Arg1, typename Arg2, typename Result>
class eastl::pointer_to_binary_function< Arg1, Arg2, Result >


This is an adapter template which converts a pointer to a standalone function to a function object. This allows standalone functions to work in many cases where the system requires a function object.

Definition at line 431 of file functional_eastl.h.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines