toml11
toml11 copied to clipboard
TOML for Modern C++
If I have this input: ~~~toml [[Winter]] December = [ { Sunday = 6 }, { Monday = 7 } ] January = [ { Sunday = 6 }, {...
Hello! I would like to serialize to file a `toml::array`. However, I would like to serialize some integers (but not all of them) contained in my data structure using the...
Is there any interest in having a version of the library that does not throw exceptions everywhere? If yes, how would the API for such thing look like? Example: this...
4f31b90665d It would be great if the `serializer` could also support pretty printing for making the generated toml more readable (the nlohmann::json library supports it as well and it's a...
When compiling for C++20, the following error occurs: ```console ../tests/test_parse_unicode.cpp:51:23: error: no matching conversion for functional-style cast from 'const char8_t [53]' to 'std::string' (aka 'basic_string') std::string(u8"Ýôú'ℓℓ λáƭè ₥è áƒƭèř ƭλïƨ...
Suppose I have the following `example.toml` file: ``` foo = 1 bar = 2 ``` After parsing this, I'd like to be able to print an error message like: ```...
Hey, first of all thanks for your library. I've noticed that your directory structure could possibly causes inclusion issues because there is no toplevel (`include`) directory which seperates the inclusion...
Calling `find_or` for `double` or `bool` is ambiguous while calling for `int` or `string` works well. ``` cpp #include "../toml.hpp" int main(){ auto data = toml::parse("data.toml"); auto N = toml::find_or(data,...
I get the following compile error, which I believe may be related to boost version. I'm using boost 1.65.1 which is the libboost-dev version in Ubuntu 18.04. What version of...
What is the best method to output the name from the first table in the array below (name = "roll")? When using toml::find to select a robot.segment table I have...