ReactOS 0.4.15-dev-7942-gd23573b
binary_compose< _Operation1, _Operation2, _Operation3 > Class Template Reference

#include <_function.h>

Inheritance diagram for binary_compose< _Operation1, _Operation2, _Operation3 >:
Collaboration diagram for binary_compose< _Operation1, _Operation2, _Operation3 >:

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), __BINARY_ARG(_Operation1, result_type)>
typedef __UNARY_ARG(_Operation2, argument_typeargument_type
 
typedef __BINARY_ARG(_Operation1, result_typeresult_type
 

Public Member Functions

 binary_compose (const _Operation1 &__x, const _Operation2 &__y, const _Operation3 &__z)
 
result_type operator() (_ArgParamType __x) const
 

Protected Attributes

_Operation1 _M_fn1
 
_Operation2 _M_fn2
 
_Operation3 _M_fn3
 

Private Types

typedef unary_function< typename __UNARY_ARG(_Operation2, argument_type), typename __BINARY_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), __BINARY_ARG(_Operation1, result_type)>
 ~unary_function ()
 

Detailed Description

template<class _Operation1, class _Operation2, class _Operation3>
class binary_compose< _Operation1, _Operation2, _Operation3 >

Definition at line 290 of file _function.h.

Member Typedef Documentation

◆ _ArgParamType

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

Definition at line 299 of file _function.h.

◆ _Base

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

Definition at line 294 of file _function.h.

◆ argument_type

template<class _Operation1 , class _Operation2 , class _Operation3 >
typedef _Base::argument_type binary_compose< _Operation1, _Operation2, _Operation3 >::argument_type

Definition at line 296 of file _function.h.

◆ result_type

template<class _Operation1 , class _Operation2 , class _Operation3 >
typedef _Base::result_type binary_compose< _Operation1, _Operation2, _Operation3 >::result_type

Definition at line 297 of file _function.h.

Constructor & Destructor Documentation

◆ binary_compose()

template<class _Operation1 , class _Operation2 , class _Operation3 >
binary_compose< _Operation1, _Operation2, _Operation3 >::binary_compose ( const _Operation1 &  __x,
const _Operation2 &  __y,
const _Operation3 &  __z 
)
inline

Definition at line 305 of file _function.h.

307 : _M_fn1(__x), _M_fn2(__y), _M_fn3(__z) { }
_Operation3 _M_fn3
Definition: _function.h:303
_Operation1 _M_fn1
Definition: _function.h:301
_Operation2 _M_fn2
Definition: _function.h:302

Member Function Documentation

◆ operator()()

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

Definition at line 309 of file _function.h.

309 {
310 return _M_fn1(_M_fn2(__x), _M_fn3(__x));
311 }

Member Data Documentation

◆ _M_fn1

template<class _Operation1 , class _Operation2 , class _Operation3 >
_Operation1 binary_compose< _Operation1, _Operation2, _Operation3 >::_M_fn1
protected

◆ _M_fn2

template<class _Operation1 , class _Operation2 , class _Operation3 >
_Operation2 binary_compose< _Operation1, _Operation2, _Operation3 >::_M_fn2
protected

◆ _M_fn3

template<class _Operation1 , class _Operation2 , class _Operation3 >
_Operation3 binary_compose< _Operation1, _Operation2, _Operation3 >::_M_fn3
protected

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