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
Currently, I am attempting to use toml::parse on a file named basic_toml.toml. When I do so, I get this error in the title. I've checked a few times and the error persists.
I am using the library by including it in the include paths.
Sorry, but I could not reproduce it. On my laptop (g++11, the same option), the same code & file works.
If std::ifstream ifs(fname, std::ios::binary) fails (!ifs.good()), it throws an error with the message you reported. I have no idea what is happening inside ifstream and your filesystem, but you can try to open a file with fopen and pass a FILE* to toml::parse(FILE*, std::string file_name) in order to use another way to read a file.
Currently, I am attempting to use
toml::parse
on a file namedbasic_toml.toml
. When I do so, I get this error in the title. I've checked a few times and the error persists.I am using the library by including it in the include paths.
Here is some other info:
Here is the code:
basic_toml.toml
The text was updated successfully, but these errors were encountered: