CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
PairSortByFirst< T1, T2, Comp > Struct Template Reference

Public Member Functions

bool operator() (const std::pair< T1, T2 > &lhs, const std::pair< T1, T2 > &rhs)
 
bool operator() (const T1 &lhs, const std::pair< T1, T2 > &rhs)
 
bool operator() (const std::pair< T1, T2 > &lhs, const T1 &rhs)
 
bool operator() (const T1 &lhs, const T1 &rhs)
 

Public Attributes

Comp comp
 

Detailed Description

template<class T1, class T2, typename Comp = std::less<T1>>
struct PairSortByFirst< T1, T2, Comp >

Definition at line 16 of file Multi5x5ClusterAlgo.cc.

Member Function Documentation

template<class T1 , class T2 , typename Comp = std::less<T1>>
bool PairSortByFirst< T1, T2, Comp >::operator() ( const std::pair< T1, T2 > &  lhs,
const std::pair< T1, T2 > &  rhs 
)
inline

Definition at line 18 of file Multi5x5ClusterAlgo.cc.

template<class T1 , class T2 , typename Comp = std::less<T1>>
bool PairSortByFirst< T1, T2, Comp >::operator() ( const T1 &  lhs,
const std::pair< T1, T2 > &  rhs 
)
inline

Definition at line 19 of file Multi5x5ClusterAlgo.cc.

template<class T1 , class T2 , typename Comp = std::less<T1>>
bool PairSortByFirst< T1, T2, Comp >::operator() ( const std::pair< T1, T2 > &  lhs,
const T1 &  rhs 
)
inline

Definition at line 20 of file Multi5x5ClusterAlgo.cc.

template<class T1 , class T2 , typename Comp = std::less<T1>>
bool PairSortByFirst< T1, T2, Comp >::operator() ( const T1 &  lhs,
const T1 &  rhs 
)
inline

Definition at line 21 of file Multi5x5ClusterAlgo.cc.

Member Data Documentation

template<class T1 , class T2 , typename Comp = std::less<T1>>
Comp PairSortByFirst< T1, T2, Comp >::comp

Definition at line 17 of file Multi5x5ClusterAlgo.cc.