Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
json
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
json
Commits
32065c80
Unverified
Commit
32065c80
authored
Jul 07, 2017
by
Niels Lohmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
📝
fix for #639
Removed deprecated documentation of the comparison operator.
parent
e99b783d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
README.md
README.md
+1
-0
src/json.hpp
src/json.hpp
+1
-4
No files found.
README.md
View file @
32065c80
...
...
@@ -846,6 +846,7 @@ I deeply appreciate the help of the following people.
-
[
Vincent Thiery
](
https://github.com/vthiery
)
maintains a package for the Conan package manager.
-
[
Steffen
](
https://github.com/koemeet
)
fixed a potential issue with MSVC and
`std::min`
.
-
[
Mike Tzou
](
https://github.com/Chocobo1
)
fixed some typos.
-
[
amrcode
](
https://github.com/amrcode
)
noted a missleading documentation about comparison of floats.
Thanks a lot for helping out! Please
[
let me know
](
mailto:mail@nlohmann.me
)
if I forgot someone.
...
...
src/json.hpp
View file @
32065c80
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment