Merge operations
Introduces merge operations for IniData
, SectionData
and KeyValueData
structures.
Typical use case is to provide a default set of configuration settings that can be partially of fully overridden by user settings:
IniData defaults = GetDefaultSettings();
IniData userSettings = ReadUserSettingsFromConfigFile();
IniData settings = defaults.Merge(userSettings);