libycxx

function object

std::strong_order

Header
<compare>
Scope
std

Synopsis

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

Call signatures

strong_order 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::strong_ordering strong_order(
        E&& e,
        F&& f) noexcept(choose<E, F>().nothrow);
    (1)