class default_comparator#( type T = int ) extends comparator#(T)
singleton Provides the default strategies to compare objects.
| T | optional The type of an object to be compared. The default is int. |
| default_comparator | singleton Provides the default strategies to compare objects. |
| Functions | |
| lt | virtual Returns 1 if x is less than y. |
| gt | virtual Returns 1 if x is greater than y. |
singleton Provides the default strategies to compare objects.
class default_comparator#( type T = int ) extends comparator#(T)
virtual Returns 1 if x is less than y.
virtual function bit lt( T x, T y )
virtual Returns 1 if x is greater than y.
virtual function bit gt( T x, T y )