cpptoml
cpptoml copied to clipboard
Read multiple files with duplicate entries
Is there a way to read in multiple TOML files into a single cpptoml::table? I want to support Linux-style .d directories where users can drop in extra configuration files. That means they could override the settings from earlier files.
Could be any of these:
- A way to disable duplicate entry checks.
- A way to merge two
tables into one (in library or how to do it myself).
I also asked this on Stack Overflow (https://stackoverflow.com/questions/55919577/combine-multiple-toml-files-d-directory-support).