![]() |
P4C
The P4 Compiler
|
#include <cmp.h>
Public Member Functions | |
| bool | operator() (const T &a, const T &b) const |
| bool | operator() (const T *a, const T *b) const |
A type suitable as map comparator that will compare objects of type T. Expects that T::getName() returns IR::ID The same comparer works for T & - reference comparison and T * - pointer comparison.