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

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

#include <multisequence_selection.hpp>

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_selection_detail::lexicographic< T1, T2, Comparator >

Compare a pair of types lexicographically, ascending.

Definition at line 39 of file multisequence_selection.hpp.

Constructor & Destructor Documentation

lexicographic ( Comparator &  comp)
inlineexplicit

Definition at line 45 of file multisequence_selection.hpp.

Member Function Documentation

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

Definition at line 47 of file multisequence_selection.hpp.

Member Data Documentation

Comparator& comp_
protected

Definition at line 42 of file multisequence_selection.hpp.


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