libycxx

function object

std::compare_partial_order_fallback

Header
<compare>
Scope
std

Synopsis

inline constexpr /* implementation-defined */ compare_partial_order_fallback = {};

Call signatures

compare_partial_order_fallback is a function object; these are its call operators as libycxx declares them, written as the functions the draft declares.

  1. template<class E, class F>
      requires (choose<E, F>().branch != cmp-branch::none)
    constexpr std::partial_ordering compare_partial_order_fallback(
        E&& e,
        F&& f) noexcept(choose<E, F>().nothrow);
    (1)