mirror of
https://github.com/nlohmann/json.git
synced 2026-11-14 11:45:34 +00:00
deploy: cdfb130fa6
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -46,6 +46,7 @@ Comparing `NaN`
|
||||
1. Comparing a `NaN` with itself.
|
||||
1. Comparing a `NaN` with another `NaN`.
|
||||
1. Comparing a `NaN` and any other number.
|
||||
- For arrays and objects, the elements are compared in order. If the comparison reaches a `NaN` and a number (or another `NaN`) before any other difference, the result is `std::partial_ordering::unordered`. (Without C++20, the comparison operators `<`, `<=`, `>`, and `>=` use the comparison of the containers, which treats such a pair as equivalent; see [**operator\<**](https://json.nlohmann.me/api/basic_json/operator_lt/index.md).)
|
||||
|
||||
## Examples
|
||||
|
||||
|
||||
Reference in New Issue
Block a user