constexpr std::strong_ordering operator()

in src/include/m/utility/utility.h [23:32]


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