TPIE

2362a60
comparator.h File Reference

Conversion between STL and TPIE comparators. More...

#include <tpie/config.h>
#include <tpie/portability.h>

Go to the source code of this file.

Classes

class  tpie::STL2TPIE_cmp< T, STLCMP >
 Convert STL comparison object with operator() to a TPIE comparison object with a compare() function. More...
 
class  tpie::TPIE2STL_cmp< T, TPCMP >
 Convert a TPIE comparison object with a compare() function to STL comparison object with operator(). More...
 
class  tpie::op2TPIE_cmp< T >
 Convert a class with a comparison operator < to a TPIE comparison object with a compare() function. More...
 

Namespaces

 tpie
 pipelining/factory_base.h Base class of pipelining factories
 

Detailed Description

Conversion between STL and TPIE comparators.

Used in internal_sort.h.

We do not implement conversion of less-than-operator to STL-style comparator, as this is already implemented as std::less in <functional>.

Definition in file comparator.h.