|
Celeritas 0.7.0-dev.148+develop.477cccc68
|
Compare for equality before checking with the given functor. More...
#include <SoftEqual.hh>

Public Member Functions | |
| template<class... C> | |
| CELER_FUNCTION | EqualOr (C &&... args) |
| Forward arguments to parent class. | |
| template<class T , class U > | |
| bool CELER_FUNCTION | operator() (T a, U b) const |
| Forward arguments to comparison operator after comparing. | |
Compare for equality before checking with the given functor.
This CRTP class allows SoftEqual to work for infinities.