STXXL  1.4-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::priority_queue_local::invert_order< Predicate, FirstType, SecondType > Class Template Reference

Detailed Description

template<class Predicate, typename FirstType, typename SecondType>
class stxxl::priority_queue_local::invert_order< Predicate, FirstType, SecondType >

Inverts the order of a comparison functor by swapping its arguments.

Definition at line 187 of file pq_helpers.h.

Public Member Functions

 invert_order (const Predicate &_pred)
 
bool operator() (const FirstType &x, const SecondType &y) const
 

Protected Attributes

Predicate pred
 

Constructor & Destructor Documentation

template<class Predicate, typename FirstType, typename SecondType>
stxxl::priority_queue_local::invert_order< Predicate, FirstType, SecondType >::invert_order ( const Predicate &  _pred)
inlineexplicit

Definition at line 194 of file pq_helpers.h.

Member Function Documentation

template<class Predicate, typename FirstType, typename SecondType>
bool stxxl::priority_queue_local::invert_order< Predicate, FirstType, SecondType >::operator() ( const FirstType &  x,
const SecondType &  y 
) const
inline

Definition at line 196 of file pq_helpers.h.

Member Data Documentation

template<class Predicate, typename FirstType, typename SecondType>
Predicate stxxl::priority_queue_local::invert_order< Predicate, FirstType, SecondType >::pred
protected

Definition at line 190 of file pq_helpers.h.


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