Celeritas  0.5.0-86+4a8eea4
Public Member Functions | List of all members
celeritas::EqualOr< F > Class Template Reference

Compare for equality before checking with the given functor. More...

#include <SoftEqual.hh>

Inheritance diagram for celeritas::EqualOr< F >:
Inheritance graph
[legend]

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.
 

Detailed Description

template<class F>
class celeritas::EqualOr< F >

Compare for equality before checking with the given functor.

This CRTP class allows SoftEqual to work for infinities.


The documentation for this class was generated from the following file: