mrdocs::operator<=>

Three‐way comparison operator

Synopsis

Declared in <mrdocs/ADT/ArrayView.hpp>

constexpr
auto
operator<=>(
    ArrayView a,
    ArrayView b) noexcept
requires requires (const T& x, const T& y) { x <=> y; };

Return Value

The relative order of the objects

Parameters

Name Description

a

The left operand

b

The right operand

Created with MrDocs