MCPcopy Create free account
hub / github.com/Neargye/magic_enum / operator<=

Method operator<=

include/magic_enum/magic_enum_containers.hpp:441–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439 [[nodiscard]] friend constexpr bool operator<(const array& a1, const array& a2) { return detail::lexicographical_compare(a1, a2); }
440
441 [[nodiscard]] friend constexpr bool operator<=(const array& a1, const array& a2) { return !detail::lexicographical_compare(a2, a1); }
442
443 [[nodiscard]] friend constexpr bool operator>(const array& a1, const array& a2) { return detail::lexicographical_compare(a2, a1); }
444

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected