function object
std::strong_order
- Header
<compare>- Draft
- [cmp.alg]
- Scope
std- cppreference
- std::strong_order
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);