mrdocs::dom::operator<=>

Three‐way comparison operator

Synopsis

Declared in <mrdocs/Dom/Value.hpp>

template<std::convertible_to<Value> S>
auto
operator<=>(
    Value const& lhs,
    S const& rhs) noexcept;

This function is a hidden friend of Value, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

The relative order of the objects

Parameters

Name

Description

lhs

The left operand

rhs

The right operand

Created with MrDocs