STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Private Attributes | List of all members
unary_negate< _Fn1 > Class Template Reference

Public Types

typedef _Fn1::argument_type argument_type
 
typedef bool result_type
 

Public Member Functions

constexpr unary_negate (const _Fn1 &_Func)
 
constexpr bool operator() (const argument_type &_Left) const
 

Private Attributes

_Fn1 _Functor
 

Member Typedef Documentation

template<class _Fn1 >
typedef _Fn1::argument_type unary_negate< _Fn1 >::argument_type
template<class _Fn1 >
typedef bool unary_negate< _Fn1 >::result_type

Constructor & Destructor Documentation

template<class _Fn1 >
constexpr unary_negate< _Fn1 >::unary_negate ( const _Fn1 &  _Func)
inlineexplicit
465  : _Functor(_Func)
466  { // construct from functor
467  }
_Fn1 _Functor
Definition: xfunctional:475

Member Function Documentation

template<class _Fn1 >
constexpr bool unary_negate< _Fn1 >::operator() ( const argument_type _Left) const
inline
470  { // apply functor to operand
471  return (!_Functor(_Left));
472  }
constexpr const _Ty &() _Left
Definition: algorithm:3722
_Fn1 _Functor
Definition: xfunctional:475

Member Data Documentation

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

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