tlx
lexicographic< T1, T2, Comparator > Class Template Reference

Compare a pair of types lexicographically, ascending. More...

#include <multisequence_partition.hpp>

Inheritance diagram for lexicographic< T1, T2, Comparator >:

Public Member Functions

 lexicographic (Comparator &comp)
 
bool operator() (const std::pair< T1, T2 > &p1, const std::pair< T1, T2 > &p2)
 

Protected Attributes

Comparator & comp_
 

Detailed Description

template<typename T1, typename T2, typename Comparator>
class tlx::multisequence_partition_detail::lexicographic< T1, T2, Comparator >

Compare a pair of types lexicographically, ascending.

Definition at line 40 of file multisequence_partition.hpp.

Constructor & Destructor Documentation

lexicographic ( Comparator &  comp)
inlineexplicit

Definition at line 47 of file multisequence_partition.hpp.

Member Function Documentation

bool operator() ( const std::pair< T1, T2 > &  p1,
const std::pair< T1, T2 > &  p2 
)
inline

Definition at line 49 of file multisequence_partition.hpp.

Member Data Documentation

Comparator& comp_
protected

Definition at line 44 of file multisequence_partition.hpp.


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