Stxxl  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Attributes
stxxl::priority_queue_local::invert_order< Predicate, first_argument_type, second_argument_type > Class Template Reference

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

#include <pq_helpers.h>

List of all members.

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

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 146 of file pq_helpers.h.


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) [inline, explicit]

Definition at line 153 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 155 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 149 of file pq_helpers.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines