|
swift
|
CRTP class template from which a derived class can inherit operator< implemented using its compare function. More...
Friends | |
| bool | operator< (const Derived &a, const Derived &b) |
| Less than. | |
| bool | operator> (const Derived &a, const Derived &b) |
| Greater than. | |
| bool | operator<= (const Derived &a, const Derived &b) |
| Less than or equal. | |
| bool | operator>= (const Derived &a, const Derived &b) |
| Greater than or equal. | |
CRTP class template from which a derived class can inherit operator< implemented using its compare function.
| Derived | Must overload a function bool compare(const Derived &, const Derived &) which can be found by ADL. |
Definition at line 115 of file mixincompare.h.