We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When JSON_DIAGNOSTICS defined, the following compilation error appears:
execeptions.hpp:119 accumulate is not member of std
#define JSON_DIAGNOSTICS #include "nlohmann/json.hpp"
No compilation error should be
No response
Windows MSVC
latest
develop
The text was updated successfully, but these errors were encountered:
nlohmann#3717: fix compilation error: "execeptions.hpp:119 accumulate…
c759e28
… is not member of std"
Add missing <numeric> include
90ed26d
Fixes #nlohmann#3717.
The include for std::accumulate is indeed missing. Fixed by #3719. Thanks.
std::accumulate
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Description
When JSON_DIAGNOSTICS defined, the following compilation error appears:
execeptions.hpp:119 accumulate is not member of std
Reproduction steps
#define JSON_DIAGNOSTICS
#include "nlohmann/json.hpp"
Expected vs. actual results
No compilation error should be
Minimal code example
No response
Error messages
No response
Compiler and operating system
Windows MSVC
Library version
latest
Validation
develop
branch is used.The text was updated successfully, but these errors were encountered: