STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Attributes | List of all members
unary_negate< _Fn1 > Class Template Reference
Inheritance diagram for unary_negate< _Fn1 >:
unary_function< _Fn1::argument_type, bool >

Public Member Functions

 unary_negate (const _Fn1 &_Func)
 
bool operator() (const typename _Fn1::argument_type &_Left) const
 

Protected Attributes

_Fn1 _Functor
 

Additional Inherited Members

- Public Types inherited from unary_function< _Fn1::argument_type, bool >
typedef _Fn1::argument_type argument_type
 
typedef bool result_type
 

Constructor & Destructor Documentation

template<class _Fn1 >
unary_negate< _Fn1 >::unary_negate ( const _Fn1 &  _Func)
inlineexplicit
392  : _Functor(_Func)
393  { // construct from functor
394  }
_Fn1 _Functor
Definition: xfunctional:402

Member Function Documentation

template<class _Fn1 >
bool unary_negate< _Fn1 >::operator() ( const typename _Fn1::argument_type &  _Left) const
inline
397  { // apply functor to operand
398  return (!_Functor(_Left));
399  }
_Fn1 _Functor
Definition: xfunctional:402

Member Data Documentation

template<class _Fn1 >
_Fn1 unary_negate< _Fn1 >::_Functor
protected

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