I have the following toml file:
and cpp code:
struct Config {
rfl::DefaultVal<rfl::Rename<"foo", bool>> Foo = false;
};
auto config = rfl::toml::load("config.toml").value();
std::println("> {}", config.Foo.get().get());
This prints false.
Am I missing something about how to compose those things or is it just not possible? I haven't tried anything else than TOML so I'm not sure if it's related to the format or not.