Ambiguous Error: json.hpp version 3.11.3 #4431
Replies: 2 comments
-
More error logs: |
Beta Was this translation helpful? Give feedback.
-
using namespace std::rel_ops; |
Beta Was this translation helpful? Give feedback.
-
More error logs: |
Beta Was this translation helpful? Give feedback.
-
using namespace std::rel_ops; |
Beta Was this translation helpful? Give feedback.
-
json.hpp:7108:58: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: [-Werror]
7108 | for (auto it = ref_stack.back()->begin(); it != ref_stack.back()->end(); ++it)
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
I get the above error when I include json.hpp in to my project. Any idea of how to solve this? I am fairly new to C++
Beta Was this translation helpful? Give feedback.
All reactions