P4C
The P4 Compiler
|
#include <cmp.h>
Public Member Functions | |
OPERATOR (equal, Equal) | |
OPERATOR (not_equal, NotEqual) | |
bool | operator!= (const T &other) const |
Public Member Functions inherited from LiftEqual< T > | |
OPERATOR (equal, Equal) | |
OPERATOR (not_equal, NotEqual) | |
bool | operator!= (const T &other) const |
virtual bool | operator== (const T &) const =0 |
Public Member Functions inherited from LiftLess< T > | |
OPERATOR (equal, Equal) | |
OPERATOR (greater, Greater) | |
OPERATOR (greater_equal, GreaterEqual) | |
OPERATOR (less, Less) | |
OPERATOR (less_equal, LessEqual) | |
OPERATOR (not_equal, NotEqual) | |
bool | operator!= (const T &other) const |
virtual bool | operator< (const T &) const =0 |
bool | operator<= (const T &other) const |
bool | operator== (const T &other) const |
bool | operator> (const T &other) const |
bool | operator>= (const T &other) const |
Similar to LiftLess, except allows subclasses to provide a more efficient ==. The virtual operator== is assumed to be the equivalence relation induced by operator<.