CompareFirstOfPointerPair_t Struct Reference

Public Member Functions

template<typename S , typename T >
bool operator() (const std::pair< S *, T * > &p1, const std::pair< S *, T * > &p2) const
 

Detailed Description

Definition at line 45 of file ChronoStatSvc.cpp.

Member Function Documentation

template<typename S , typename T >
bool CompareFirstOfPointerPair_t::operator() ( const std::pair< S *, T * > &  p1,
const std::pair< S *, T * > &  p2 
) const
inline

Definition at line 47 of file ChronoStatSvc.cpp.

48  {
49  auto e1 = p1.first;
50  auto e2 = p2.first;
51  return ( !e1 || !e2 ) || *e1 < *e2;
52  }
HepRndm::Engine< TripleRand > e2

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