CMS 3D CMS Logo

List of all members | Static Public Member Functions
npstat::ComplexComparesFalse< T > Struct Template Reference

#include <ComplexComparesFalse.h>

Static Public Member Functions

static bool less (const T &l, const T &r)
 
static bool more (const T &l, const T &r)
 

Detailed Description

template<class T>
struct npstat::ComplexComparesFalse< T >

This template compares two numbers. For simple numeric types (int, double, etc) the numbers themselves are compared while for std::complex<...> types "false" is returned for every comparison.

Definition at line 23 of file ComplexComparesFalse.h.

Member Function Documentation

template<class T >
static bool npstat::ComplexComparesFalse< T >::less ( const T l,
const T r 
)
inlinestatic
template<class T >
static bool npstat::ComplexComparesFalse< T >::more ( const T l,
const T r 
)
inlinestatic

Definition at line 28 of file ComplexComparesFalse.h.

References alignCSCRings::r.

29  {return l > r;}