Three‐way comparison operator

Synopsis

Declared in <beman/cstring_view/cstring_view.hpp>

constexpr
auto
operator<=>(
    basic_cstring_view x,
    basic_cstring_view y) noexcept;

Return Value

The relative order of the objects

Parameters

Name

Description

x

The left operand

y

The right operand