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

◆ less()

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

Definition at line 24 of file ComplexComparesFalse.h.

References MainPageGenerator::l.

◆ more()

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

Definition at line 26 of file ComplexComparesFalse.h.

References MainPageGenerator::l.