STXXL  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::priority_queue_local::invert_order< 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::priority_queue_local::invert_order< Predicate, first_argument_type, second_argument_type >

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

Definition at line 189 of file pq_helpers.h.

Public Member Functions

 invert_order (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::priority_queue_local::invert_order< Predicate, first_argument_type, second_argument_type >::invert_order ( const Predicate &  _pred)
inlineexplicit

Definition at line 196 of file pq_helpers.h.

Member Function Documentation

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

Definition at line 198 of file pq_helpers.h.

Member Data Documentation

template<class Predicate, typename first_argument_type, typename second_argument_type>
Predicate stxxl::priority_queue_local::invert_order< Predicate, first_argument_type, second_argument_type >::pred
protected

Definition at line 192 of file pq_helpers.h.


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