Celeritas
0.5.0-86+4a8eea4
|
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.