mirror of
https://github.com/nlohmann/json.git
synced 2025-07-27 00:41:05 +03:00
📝 fix for #639
Removed deprecated documentation of the comparison operator.
This commit is contained in:
@ -6273,10 +6273,7 @@ class basic_json
|
||||
their stored values are the same according to their respective
|
||||
`operator==`.
|
||||
- Integer and floating-point numbers are automatically converted before
|
||||
comparison. Floating-point numbers are compared indirectly: two
|
||||
floating-point numbers `f1` and `f2` are considered equal if neither
|
||||
`f1 > f2` nor `f2 > f1` holds. Note than two NaN values are always
|
||||
treated as unequal.
|
||||
comparison. Note than two NaN values are always treated as unequal.
|
||||
- Two JSON null values are equal.
|
||||
|
||||
@note NaN values never compare equal to themselves or to other NaN values.
|
||||
|
Reference in New Issue
Block a user