Closed degloff closed 3 months ago
Please use the bug report template. I will close this so you can re-submit with the information requested in the template.
Hm seems to work if I use the cast like this: *tbl.get_as<toml::array>("elems")
. Interesting.
Let me dig a bit deeper. And thanks for quick reply.
I suggest you see the Working with TOML data section of the main page for usage examples.
How can this simple toml file be parsed?
It should be an array so once parsing the table,
tbl["elems"]
should be an array or array of tables but it is not.What is wrong here? I use VS 2022.
Thanks for a hint how to use it properly.