STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Attributes | List of all members
binary_negate< _Fn2 > Class Template Reference
Inheritance diagram for binary_negate< _Fn2 >:
binary_function< _Fn2::first_argument_type, _Fn2::second_argument_type, bool >

Public Member Functions

 binary_negate (const _Fn2 &_Func)
 
bool operator() (const typename _Fn2::first_argument_type &_Left, const typename _Fn2::second_argument_type &_Right) const
 

Protected Attributes

_Fn2 _Functor
 

Additional Inherited Members

- Public Types inherited from binary_function< _Fn2::first_argument_type, _Fn2::second_argument_type, bool >
typedef _Fn2::first_argument_type first_argument_type
 
typedef _Fn2::second_argument_type second_argument_type
 
typedef bool result_type
 

Constructor & Destructor Documentation

template<class _Fn2 >
binary_negate< _Fn2 >::binary_negate ( const _Fn2 &  _Func)
inlineexplicit
420  : _Functor(_Func)
421  { // construct from functor
422  }
_Fn2 _Functor
Definition: xfunctional:431

Member Function Documentation

template<class _Fn2 >
bool binary_negate< _Fn2 >::operator() ( const typename _Fn2::first_argument_type &  _Left,
const typename _Fn2::second_argument_type &  _Right 
) const
inline
426  { // apply functor to operands
427  return (!_Functor(_Left, _Right));
428  }
_Fn2 _Functor
Definition: xfunctional:431
const _Ty & _Right
Definition: algorithm:4087

Member Data Documentation

template<class _Fn2 >
_Fn2 binary_negate< _Fn2 >::_Functor
protected

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