hamcast::util::comparable< Super, T > Class Template Reference

Barton-Nackman trick for all comparsion operators. More...

#include <comparable.hpp>

List of all members.


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:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator