Im having trouble parsing through all the entries in the default map where parsing through all the values in the default_config map
and assigning the map value to the name that tomllib finds dosent work
const ConfigValue::config_map default_config = {
{"Log-path", this->log_path},
{"Username", this->username},
{"User-ID", this->user_id},
{"User-profile", this->user_profile},
{"Message", this->message},
{"Message-Timestamp", this->message_timestamp}
};
THis is the map I want to parse through and assign values with all the key members being in the class aswell
ConfigResult<ConfigValue> ConfigClass::LoggingConfig::load_config()const{
toml::table tbl = toml::parse_file(static_config_path_t);
auto logging = tbl["Logging"];
}
This is the shell of the function
How would I make this for function so that it works?
