P4C
The P4 Compiler
|
#include <cmp.h>
Public Member Functions | |
OPERATOR (equal, Equal) | |
OPERATOR (not_equal, NotEqual) | |
bool | operator!= (const T &other) const |
virtual bool | operator== (const T &) const =0 |
Lifts == on objects to functions and functors for == and != on pointers, and also derives != on objects. The virtual operator== is assumed to implement an equivalence relation.