[#nlohmann-basic_json-05-operator_3way-07]
= xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-05.adoc[basic&lowbar;json&lt;&gt;]::operator&lt;&equals;&gt;
:relfileprefix: ../../
:mrdocs:

comparison&colon; 3&hyphen;way

== Synopsis

Declared in `&lt;nlohmann&sol;json&period;hpp&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename ScalarType&gt;
requires std&colon;&colon;is&lowbar;scalar&lowbar;v&lt;ScalarType&gt;
std::partial&lowbar;ordering
operator&lt;&equals;&gt;(ScalarType rhs) const noexcept;
----

== Return Value

The relative order of the objects

== Parameters

[cols="1,4"]
|===
|Name|Description

| *rhs*
| The right operand
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
