ReactOS  0.4.13-dev-92-gf251225
pointer_to_binary_function< _Arg1, _Arg2, _Result > Class Template Reference

#include <_function_adaptors.h>

Inheritance diagram for pointer_to_binary_function< _Arg1, _Arg2, _Result >:
Collaboration diagram for pointer_to_binary_function< _Arg1, _Arg2, _Result >:

Public Member Functions

 pointer_to_binary_function ()
 
 pointer_to_binary_function (_Result(*__x)(_Arg1, _Arg2))
 
_Result operator() (_Arg1 __x, _Arg2 __y) const
 

Protected Attributes

_Result(* _M_ptr )(_Arg1, _Arg2)
 

Additional Inherited Members

- Public Types inherited from binary_function< _Arg1, _Arg2, _Result >
typedef _Arg1 first_argument_type
 
typedef _Arg2 second_argument_type
 
typedef _Result result_type
 
- Protected Member Functions inherited from binary_function< _Arg1, _Arg2, _Result >
 ~binary_function ()
 

Detailed Description

template<class _Arg1, class _Arg2, class _Result>
class pointer_to_binary_function< _Arg1, _Arg2, _Result >

Definition at line 590 of file _function_adaptors.h.

Constructor & Destructor Documentation

◆ pointer_to_binary_function() [1/2]

template<class _Arg1 , class _Arg2 , class _Result >
pointer_to_binary_function< _Arg1, _Arg2, _Result >::pointer_to_binary_function ( )
inline

Definition at line 595 of file _function_adaptors.h.

595 {}

◆ pointer_to_binary_function() [2/2]

template<class _Arg1 , class _Arg2 , class _Result >
pointer_to_binary_function< _Arg1, _Arg2, _Result >::pointer_to_binary_function ( _Result(*)(_Arg1, _Arg2)  __x)
inlineexplicit

Definition at line 596 of file _function_adaptors.h.

597  : _M_ptr(__x) {}
_Result(* _M_ptr)(_Arg1, _Arg2)

Member Function Documentation

◆ operator()()

template<class _Arg1 , class _Arg2 , class _Result >
_Result pointer_to_binary_function< _Arg1, _Arg2, _Result >::operator() ( _Arg1  __x,
_Arg2  __y 
) const
inline

Definition at line 598 of file _function_adaptors.h.

598  {
599  return _M_ptr(__x, __y);
600  }
_Result(* _M_ptr)(_Arg1, _Arg2)

Member Data Documentation

◆ _M_ptr

template<class _Arg1 , class _Arg2 , class _Result >
_Result(* pointer_to_binary_function< _Arg1, _Arg2, _Result >::_M_ptr) (_Arg1, _Arg2)
protected

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