constexpr std::strong_ordering operator()

in src/include/m/utility/utility.h [39:48]


    constexpr std::strong_ordering operator<=>(T l, std::underlying_type_t<T> r)                   \
    {                                                                                              \
        if (std::to_underlying(l) < r)                                                             \
            return std::strong_ordering::less;                                                     \
                                                                                                   \
        if (std::to_underlying(l) > r)                                                             \
            return std::strong_ordering::greater;                                                  \
                                                                                                   \
        return std::strong_ordering::equivalent;                                                   \
    }                                                                                              \