hamcast
Version 0.7
|
#include <comparable.hpp>
Barton-Nackman trick for all comparsion operators.
Super
must implement an "int compare(const T& what)" member function that return 0 if this == what
, -1 if this < what
and 1 if this > what
.