You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the issue you have?
Cannot compile in Visual Studio 2017 after including json.hpp
Please describe the steps to reproduce the issue. Can you provide a small but working code example?
This line - 18474 inline void swap(nlohmann::json& j1, generates the following error
Severity Code Description Project File Line Suppression State
Error (active) E0493 no instance of overloaded function "std::swap" matches the specified type
Did you use a released version of the library or the version from the develop branch?
Tried 3.01 and 3.12 develop
I'm able to cmake the project but unable to compile after including it... I've tried:
ISO C++ latest draft and ISO C++ 17. I'm not able to go to any earlier versions due to dependencies.
The text was updated successfully, but these errors were encountered:
Here's the deal -- I did a little thinking on this and I think that it is possible that the JSON file being referenced could affect this bug. When I remade my project I rebuild the config file as well and I did it in a slightly different way. It may be something to look at ...
What is the issue you have?
Cannot compile in Visual Studio 2017 after including json.hpp
Please describe the steps to reproduce the issue. Can you provide a small but working code example?
This line - 18474 inline void swap(nlohmann::json& j1, generates the following error
Severity Code Description Project File Line Suppression State
Error (active) E0493 no instance of overloaded function "std::swap" matches the specified type
Did you use a released version of the library or the version from the
develop
branch?Tried 3.01 and 3.12 develop
If you experience a compilation error: can you compile and run the unit tests?
I'm able to cmake the project but unable to compile after including it... I've tried:
ISO C++ latest draft and ISO C++ 17. I'm not able to go to any earlier versions due to dependencies.
The text was updated successfully, but these errors were encountered: