nlohmann::basic_json::operator<=>

comparison: 3-way

Synopsis

Declared in <nlohmann/json.hpp>
template<typename ScalarType>
requires std::is_scalar_v<ScalarType>
std::partial_ordering
operator<=>(ScalarType rhs) const noexcept;


Return Value

The relative order of the objects

Parameters

Name Description
rhs The right operand

Created with MrDocs