STXXL  1.4-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::parallel::binary_negate< Predicate, first_argument_type, second_argument_type > Class Template Reference

Detailed Description

template<class Predicate, typename first_argument_type, typename second_argument_type>
class stxxl::parallel::binary_negate< Predicate, first_argument_type, second_argument_type >

Alternative to std::not2, typedefs first_argument_type and second_argument_type not needed.

Definition at line 35 of file base.h.

Inherits binary_function< first_argument_type, second_argument_type, bool >.

Public Member Functions

 binary_negate (const Predicate &_pred)
 
bool operator() (const first_argument_type &x, const second_argument_type &y) const
 

Protected Attributes

Predicate pred
 

Constructor & Destructor Documentation

template<class Predicate , typename first_argument_type , typename second_argument_type >
stxxl::parallel::binary_negate< Predicate, first_argument_type, second_argument_type >::binary_negate ( const Predicate &  _pred)
inlineexplicit

Definition at line 43 of file base.h.

Member Function Documentation

template<class Predicate , typename first_argument_type , typename second_argument_type >
bool stxxl::parallel::binary_negate< Predicate, first_argument_type, second_argument_type >::operator() ( const first_argument_type &  x,
const second_argument_type &  y 
) const
inline

Definition at line 45 of file base.h.

Member Data Documentation

template<class Predicate , typename first_argument_type , typename second_argument_type >
Predicate stxxl::parallel::binary_negate< Predicate, first_argument_type, second_argument_type >::pred
protected

Definition at line 39 of file base.h.


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