| 900 | // Greater/Less-Than Operator overloads - mathematically useless, but handy for "sorted" container storage |
| 901 | template<class TL, class TR> |
| 902 | inline constexpr bool operator < (const v_2d<TL>& lhs, const v_2d<TR>& rhs) |
| 903 | { |
| 904 | return (lhs.y < rhs.y) || (lhs.y == rhs.y && lhs.x < rhs.x); |
| 905 | } |
| 906 | |
| 907 | template<class TL, class TR> |
| 908 | inline constexpr bool operator > (const v_2d<TL>& lhs, const v_2d<TR>& rhs) |
nothing calls this directly
no outgoing calls
no test coverage detected