[#nlohmann-basic_json-00-operator_3way-0c] = xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-00.adoc[basic_json]::operator<=> :relfileprefix: ../../ :mrdocs: comparison: 3‐way == Synopsis Declared in `<nlohmann/json.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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 [cols=2] |=== | Name | Description | *rhs* | The right operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#