libcppa
Version 0.1
|
#include <comparable.hpp>
Barton–Nackman trick implementation.
Subclass
must provide a compare
member function that compares to instances of T
and returns an integer x
with:
x < 0
if this < other
x > 0
if this > other
x == 0
if this == other