STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
__gnu_parallel::__unary_negate< _Predicate, argument_type > Class Template Reference

Similar to std::unary_negate, but giving the argument types explicitly. More...

#include <parallel/base.h>

Inheritance diagram for __gnu_parallel::__unary_negate< _Predicate, argument_type >:

Public Member Functions

 __unary_negate (const _Predicate &__x)
 
bool operator() (const argument_type &__x)
 

Protected Attributes

_Predicate _M_pred
 

Detailed Description

template<typename _Predicate, typename argument_type>
class __gnu_parallel::__unary_negate< _Predicate, argument_type >

Similar to std::unary_negate, but giving the argument types explicitly.

Constructor & Destructor Documentation

template<typename _Predicate , typename argument_type >
__gnu_parallel::__unary_negate< _Predicate, argument_type >::__unary_negate ( const _Predicate &  __x)
inlineexplicit
181 : _M_pred(__x) { }
_Predicate _M_pred
Definition: base.h:177

Member Function Documentation

template<typename _Predicate , typename argument_type >
bool __gnu_parallel::__unary_negate< _Predicate, argument_type >::operator() ( const argument_type &  __x)
inline
185  { return !_M_pred(__x); }
_Predicate _M_pred
Definition: base.h:177

Member Data Documentation

template<typename _Predicate , typename argument_type >
_Predicate __gnu_parallel::__unary_negate< _Predicate, argument_type >::_M_pred
protected

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