CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
edm::StrictWeakOrdering< T > Struct Template Reference

#include <SortedCollection.h>

Public Types

typedef T::key_type key_type
 

Public Member Functions

bool operator() (key_type a, T const &b) const
 
bool operator() (T const &a, key_type b) const
 
bool operator() (T const &a, T const &b) const
 

Detailed Description

template<typename T>
struct edm::StrictWeakOrdering< T >

Definition at line 47 of file SortedCollection.h.

Member Typedef Documentation

◆ key_type

template<typename T >
typedef T::key_type edm::StrictWeakOrdering< T >::key_type

Definition at line 63 of file SortedCollection.h.

Member Function Documentation

◆ operator()() [1/3]

template<typename T >
bool edm::StrictWeakOrdering< T >::operator() ( key_type  a,
T const &  b 
) const
inline

Definition at line 66 of file SortedCollection.h.

66 { return a < b.id(); }

References a, and b.

◆ operator()() [2/3]

template<typename T >
bool edm::StrictWeakOrdering< T >::operator() ( T const &  a,
key_type  b 
) const
inline

Definition at line 67 of file SortedCollection.h.

67 { return a.id() < b; }

References a, and b.

◆ operator()() [3/3]

template<typename T >
bool edm::StrictWeakOrdering< T >::operator() ( T const &  a,
T const &  b 
) const
inline

Definition at line 68 of file SortedCollection.h.

68 { return a.id() < b.id(); }

References a, and b.

b
double b
Definition: hdecay.h:118
a
double a
Definition: hdecay.h:119