-
-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
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
Iterate over nested Tables (Array of Tables) #219
Comments
Yeah for_each() should work in the way you've tried it in the first example, and it's not immediately clear to me why it's not here. I'll have a look into it a bit later :) |
If it helps this is the complete Error Message i got using the
|
Is this possibly related to the issue I am experiencing as well? I tried to upgrade |
Having the same issue with MSVC 19.39.33523.0 when using tomlplusplus 3.4.0 via vcpkg:
Downgrading to v3.3.0 via vcpkg.json fixes the issue: {
"dependencies": [
"tomlplusplus",
],
"overrides": [
{
"name": "tomlplusplus",
"version": "3.3.0"
}
]
}
The same CMake project compiles fine when using clang v15 on macOS with v3.4.0 and v3.3.0. I wonder if this is a regression in tomlplusplus v3.4.0. |
Hello, this is more a question then a real bug but there was no question to select.
I'm currently try to figure out how to iterate over a set of nested Tables. I tried the example from the Docs for the Arrays but this seems not to work, because i got compiler errors.
This is the Code that i tried:
And these are the errors i got:
The Toml i used:
With the following Code i was able to iterate over the nested Tables but i wonder if this is the best or recommended way to do it.
The text was updated successfully, but these errors were encountered: