function object
std::weak_order
- Header
<compare>- Draft
- [cmp.alg]
- Scope
std- cppreference
- std::weak_order
Synopsis
inline constexpr /* implementation-defined */ weak_order = {};Call signatures
weak_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::weak_ordering weak_order( E&& e, F&& f) noexcept(choose<E, F>().nothrow);