ORIGINAL
|
Requires type to implement the comparable interface with compareTo method. More...
#include <types.h>
Requires type to implement the comparable interface with compareTo method.
T | The type to check |
This concept enforces that a type provides a Java-style comparison interface through a compareTo
method that returns an integer indicating ordering. Types satisfying this concept can be used with the comparable
base class and benefit from automatically generated comparison operators.
Requirements:
integer compareTo(const T& other) const