ReactOS  0.4.13-dev-39-g8b6696f
binary_negate< _Predicate > Class Template Reference

#include <_function.h>

Inheritance diagram for binary_negate< _Predicate >:
Collaboration diagram for binary_negate< _Predicate >:

Public Types

typedef _Base::first_argument_type first_argument_type
 
typedef _Base::second_argument_type second_argument_type
 
- Public Types inherited from binary_function< __BINARY_ARG(_Predicate, first_argument_type), __BINARY_ARG(_Predicate, second_argument_type), bool >
typedef __BINARY_ARG(_Predicate, first_argument_typefirst_argument_type
 
typedef __BINARY_ARG(_Predicate, second_argument_typesecond_argument_type
 
typedef bool result_type
 

Public Member Functions

 binary_negate (const _Predicate &__x)
 
bool operator() (_FstArgParamType __x, _SndArgParamType __y) const
 

Protected Attributes

_Predicate _M_pred
 

Private Types

typedef binary_function< typename __BINARY_ARG(_Predicate, first_argument_type), typename __BINARY_ARG(_Predicate, second_argument_type), bool_Base
 
typedef __call_traits< first_argument_type >::const_param_type _FstArgParamType
 
typedef __call_traits< second_argument_type >::const_param_type _SndArgParamType
 

Additional Inherited Members

- Protected Member Functions inherited from binary_function< __BINARY_ARG(_Predicate, first_argument_type), __BINARY_ARG(_Predicate, second_argument_type), bool >
 ~binary_function ()
 

Detailed Description

template<class _Predicate>
class binary_negate< _Predicate >

Definition at line 159 of file _function.h.

Member Typedef Documentation

◆ _Base

template<class _Predicate >
typedef binary_function<typename __BINARY_ARG(_Predicate, first_argument_type), typename __BINARY_ARG(_Predicate, second_argument_type), bool> binary_negate< _Predicate >::_Base
private

Definition at line 165 of file _function.h.

◆ _FstArgParamType

template<class _Predicate >
typedef __call_traits<first_argument_type>::const_param_type binary_negate< _Predicate >::_FstArgParamType
private

Definition at line 170 of file _function.h.

◆ _SndArgParamType

template<class _Predicate >
typedef __call_traits<second_argument_type>::const_param_type binary_negate< _Predicate >::_SndArgParamType
private

Definition at line 171 of file _function.h.

◆ first_argument_type

template<class _Predicate >
typedef _Base::first_argument_type binary_negate< _Predicate >::first_argument_type

Definition at line 167 of file _function.h.

◆ second_argument_type

template<class _Predicate >
typedef _Base::second_argument_type binary_negate< _Predicate >::second_argument_type

Definition at line 168 of file _function.h.

Constructor & Destructor Documentation

◆ binary_negate()

template<class _Predicate >
binary_negate< _Predicate >::binary_negate ( const _Predicate &  __x)
inlineexplicit

Definition at line 175 of file _function.h.

175 : _M_pred(__x) {}
_Predicate _M_pred
Definition: _function.h:173

Member Function Documentation

◆ operator()()

template<class _Predicate >
bool binary_negate< _Predicate >::operator() ( _FstArgParamType  __x,
_SndArgParamType  __y 
) const
inline

Definition at line 176 of file _function.h.

176  {
177  return !_M_pred(__x, __y);
178  }
_Predicate _M_pred
Definition: _function.h:173

Member Data Documentation

◆ _M_pred

template<class _Predicate >
_Predicate binary_negate< _Predicate >::_M_pred
protected

Definition at line 173 of file _function.h.

Referenced by binary_negate< _Predicate >::operator()().


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