Special calss for Minimum comparisons. More...
#include <MaxCmp.h>
Public Member Functions | |
MinCmp () | |
Constructors are not inherited. | |
MinCmp (const T &t, Indx in=Indx()) | |
Constructors are not inherited. | |
Public Member Functions inherited from ThePEG::MaxCmp< T, Indx, Cmp > | |
MaxCmp () | |
The default constructor. | |
MaxCmp (const T &t, Indx in=Indx()) | |
Constructor specifying an initial maximum value, t. | |
bool | operator() (const T &t, Indx i=Indx()) |
If t is the largest value seen so far return true. | |
operator const T & () const | |
Return the largest value so far. | |
const T & | value () const |
Return the largest value so far. | |
Indx | index () const |
Return the index of the largest object seen so far. | |
bool | operator! () const |
Return true if no index has been chosen. | |
Special calss for Minimum comparisons.
|
inline |
|
inline |