deploy: cdfb130fa6
This commit is contained in:
1 parent
8ddeea7128
commit
5097c20962
516 files changed
+7306
-5984
No files matched your search
@@ -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