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
Possible to support this syntax in the library?
auto j = "{\"abc\":[34]}"_json; for (auto& [k, v] : j){ // compile error }
std::map example:
std::map<int, int> m; for (auto& [k, v] : m){ // this works }
The text was updated successfully, but these errors were encountered:
Try this
for (auto& [k, v] : j.items()) {
Sorry, something went wrong.
@kenjichanhkg Can I close this issue?
O OK
No branches or pull requests
Possible to support this syntax in the library?
std::map example:
The text was updated successfully, but these errors were encountered: