ReactOS 0.4.15-dev-7942-gd23573b
pointer_to_unary_function< _Arg, _Result > Class Template Reference

#include <_function_adaptors.h>

Inheritance diagram for pointer_to_unary_function< _Arg, _Result >:
Collaboration diagram for pointer_to_unary_function< _Arg, _Result >:

Public Member Functions

 pointer_to_unary_function ()
 
 pointer_to_unary_function (_Result(*__x)(_Arg))
 
_Result operator() (_Arg __x) const
 

Protected Attributes

_Result(* _M_ptr )(_Arg)
 

Additional Inherited Members

- Public Types inherited from unary_function< _Arg, _Result >
typedef _Arg argument_type
 
typedef _Result result_type
 
- Protected Member Functions inherited from unary_function< _Arg, _Result >
 ~unary_function ()
 

Detailed Description

template<class _Arg, class _Result>
class pointer_to_unary_function< _Arg, _Result >

Definition at line 580 of file _function_adaptors.h.

Constructor & Destructor Documentation

◆ pointer_to_unary_function() [1/2]

template<class _Arg , class _Result >
pointer_to_unary_function< _Arg, _Result >::pointer_to_unary_function ( )
inline

Definition at line 584 of file _function_adaptors.h.

584{}

◆ pointer_to_unary_function() [2/2]

template<class _Arg , class _Result >
pointer_to_unary_function< _Arg, _Result >::pointer_to_unary_function ( _Result(*)(_Arg)  __x)
inlineexplicit

Definition at line 585 of file _function_adaptors.h.

585: _M_ptr(__x) {}

Member Function Documentation

◆ operator()()

template<class _Arg , class _Result >
_Result pointer_to_unary_function< _Arg, _Result >::operator() ( _Arg  __x) const
inline

Definition at line 586 of file _function_adaptors.h.

586{ return _M_ptr(__x); }

Member Data Documentation

◆ _M_ptr

template<class _Arg , class _Result >
_Result(* pointer_to_unary_function< _Arg, _Result >::_M_ptr) (_Arg)
protected

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