framework
|
Comparable template. More...
#include <framework/serializable/mutators/comparable.hpp>
Friends | |
FRAMEWORK_ALWAYS_INLINE friend bool | operator< (Parent const &lhs, Parent const &rhs) |
Less than operator. | |
FRAMEWORK_ALWAYS_INLINE friend bool | operator> (Parent const &lhs, Parent const &rhs) |
Greater than operator. | |
FRAMEWORK_ALWAYS_INLINE friend bool | operator<= (Parent const &lhs, Parent const &rhs) |
Less than or equal to operator. | |
FRAMEWORK_ALWAYS_INLINE friend bool | operator>= (Parent const &lhs, Parent const &rhs) |
Greater than or equal to operator. | |
FRAMEWORK_ALWAYS_INLINE friend bool | operator== (Parent const &lhs, Parent const &rhs) |
Equal to operator. | |
FRAMEWORK_ALWAYS_INLINE friend bool | operator!= (Parent const &lhs, Parent const &rhs) |
Not equal to operator. | |
Comparable template.
Provide Parent
with conventional operator methods to interface with the above free functions using the Barton-Nackman trick.
Parent | parent class |