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

Public Types

typedef _Fn2::first_argument_type first_argument_type
 
typedef _Fn2::second_argument_type second_argument_type
 
typedef bool result_type
 

Public Member Functions

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

Private Attributes

_Fn2 _Functor
 

Member Typedef Documentation

template<class _Fn2 >
typedef _Fn2::first_argument_type binary_negate< _Fn2 >::first_argument_type
template<class _Fn2 >
typedef bool binary_negate< _Fn2 >::result_type
template<class _Fn2 >
typedef _Fn2::second_argument_type binary_negate< _Fn2 >::second_argument_type

Constructor & Destructor Documentation

template<class _Fn2 >
constexpr binary_negate< _Fn2 >::binary_negate ( const _Fn2 &  _Func)
inlineexplicit
495  : _Functor(_Func)
496  { // construct from functor
497  }
_Fn2 _Functor
Definition: xfunctional:506

Member Function Documentation

template<class _Fn2 >
constexpr bool binary_negate< _Fn2 >::operator() ( const first_argument_type _Left,
const second_argument_type _Right 
) const
inline
501  { // apply functor to operands
502  return (!_Functor(_Left, _Right));
503  }
constexpr const _Ty &() _Left
Definition: algorithm:3722
_Fn2 _Functor
Definition: xfunctional:506
constexpr const _Ty &() _Right
Definition: algorithm:3723

Member Data Documentation

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

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