hamcast  Version 0.7
List of all members
hamcast::util::comparable< Super, T > Class Template Reference

#include <comparable.hpp>

Detailed Description

template<class Super, typename T>
class hamcast::util::comparable< Super, T >

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.


The documentation for this class was generated from the following file: