Nugget
Public Member Functions | Protected Attributes | List of all members
eastl::pointer_to_binary_function< Arg1, Arg2, Result > Class Template Reference

#include <functional.h>

Inheritance diagram for eastl::pointer_to_binary_function< Arg1, Arg2, Result >:
Inheritance graph
[legend]
Collaboration diagram for eastl::pointer_to_binary_function< Arg1, Arg2, Result >:
Collaboration graph
[legend]

Public Member Functions

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

Protected Attributes

Result(* mpFunction )(Arg1, Arg2)
 

Additional Inherited Members

- Public Types inherited from eastl::binary_function< Arg1, Arg2, Result >
typedef Arg1 first_argument_type
 
typedef Arg2 second_argument_type
 
typedef Result result_type
 

Detailed Description

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

pointer_to_binary_function

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.


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