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
Hi,
the following does not build on OSX with C++14:
#include "nlohmann.json.hpp" using json = nlohmann::basic_json<std::map, std::vector, std::string, bool, int32_t, float>; int main(int argc, const char * argv[]) { json j; j["int_1"] = 1; << Conversion from 'int' to 'nlohmann::basic_json<std::map, std::vector, std::__1::basic_string<char>, bool, int, float, std::allocator>' is ambiguous return 0; }
I'd rather use number type int32_t instead of the default int64_t (which builds properly). Do you have any idea how to fix this issue? Thank you,
Arnaud
The text was updated successfully, but these errors were encountered:
I understand the problem - it is a conflict with the solution to issue #71. I see what I can do.
Sorry, something went wrong.
51edad3
Your code example should work now - I added a respective test case.
It's working perfectly. Thank you for your super-fast feedback.
nlohmann
No branches or pull requests
Hi,
the following does not build on OSX with C++14:
I'd rather use number type int32_t instead of the default int64_t (which builds properly). Do you have any idea how to fix this issue?
Thank you,
Arnaud
The text was updated successfully, but these errors were encountered: