ReactOS  0.4.14-dev-41-g31d7680
unary_compose< _Operation1, _Operation2 > Class Template Reference

#include <_function.h>

Inheritance diagram for unary_compose< _Operation1, _Operation2 >:
Collaboration diagram for unary_compose< _Operation1, _Operation2 >:

Public Types

typedef _Base::argument_type argument_type
 
typedef _Base::result_type result_type
 
- Public Types inherited from unary_function< __UNARY_ARG(_Operation2, argument_type), __UNARY_ARG(_Operation1, result_type)>
typedef __UNARY_ARG(_Operation2, argument_typeargument_type
 
typedef __UNARY_ARG(_Operation1, result_typeresult_type
 

Public Member Functions

 unary_compose (const _Operation1 &__x, const _Operation2 &__y)
 
result_type operator() (_ArgParamType __x) const
 

Protected Attributes

_Operation1 _M_fn1
 
_Operation2 _M_fn2
 

Private Types

typedef unary_function< typename __UNARY_ARG(_Operation2, argument_type), typename __UNARY_ARG(_Operation1, result_type)> _Base
 
typedef __call_traits< argument_type >::const_param_type _ArgParamType
 

Additional Inherited Members

- Protected Member Functions inherited from unary_function< __UNARY_ARG(_Operation2, argument_type), __UNARY_ARG(_Operation1, result_type)>
 ~unary_function ()
 

Detailed Description

template<class _Operation1, class _Operation2>
class unary_compose< _Operation1, _Operation2 >

Definition at line 261 of file _function.h.

Member Typedef Documentation

◆ _ArgParamType

template<class _Operation1 , class _Operation2 >
typedef __call_traits<argument_type>::const_param_type unary_compose< _Operation1, _Operation2 >::_ArgParamType
private

Definition at line 270 of file _function.h.

◆ _Base

template<class _Operation1 , class _Operation2 >
typedef unary_function<typename __UNARY_ARG(_Operation2, argument_type), typename __UNARY_ARG(_Operation1, result_type)> unary_compose< _Operation1, _Operation2 >::_Base
private

Definition at line 265 of file _function.h.

◆ argument_type

template<class _Operation1 , class _Operation2 >
typedef _Base::argument_type unary_compose< _Operation1, _Operation2 >::argument_type

Definition at line 267 of file _function.h.

◆ result_type

template<class _Operation1 , class _Operation2 >
typedef _Base::result_type unary_compose< _Operation1, _Operation2 >::result_type

Definition at line 268 of file _function.h.

Constructor & Destructor Documentation

◆ unary_compose()

template<class _Operation1 , class _Operation2 >
unary_compose< _Operation1, _Operation2 >::unary_compose ( const _Operation1 &  __x,
const _Operation2 &  __y 
)
inline

Definition at line 275 of file _function.h.

276  : _M_fn1(__x), _M_fn2(__y) {}
_Operation2 _M_fn2
Definition: _function.h:273
_Operation1 _M_fn1
Definition: _function.h:272

Member Function Documentation

◆ operator()()

template<class _Operation1 , class _Operation2 >
result_type unary_compose< _Operation1, _Operation2 >::operator() ( _ArgParamType  __x) const
inline

Definition at line 278 of file _function.h.

278  {
279  return _M_fn1(_M_fn2(__x));
280  }
_Operation2 _M_fn2
Definition: _function.h:273
_Operation1 _M_fn1
Definition: _function.h:272

Member Data Documentation

◆ _M_fn1

template<class _Operation1 , class _Operation2 >
_Operation1 unary_compose< _Operation1, _Operation2 >::_M_fn1
protected

Definition at line 272 of file _function.h.

Referenced by unary_compose< _Operation1, _Operation2 >::operator()().

◆ _M_fn2

template<class _Operation1 , class _Operation2 >
_Operation2 unary_compose< _Operation1, _Operation2 >::_M_fn2
protected

Definition at line 273 of file _function.h.

Referenced by unary_compose< _Operation1, _Operation2 >::operator()().


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