12 #include <initializer_list> 44 const std::initializer_list<SettingPair>& initialSettings) {
45 settings_.reserve(initialSettings.size());
49 for (
auto& setting : initialSettings) {
50 setSetting(setting.first, setting.second);
59 return settings_.size();
71 std::vector<HTTPSetting>::iterator getSettingIter(
SettingsId id);
72 std::vector<HTTPSetting>::const_iterator getSettingConstIter(
HTTPSetting(SettingsId i, SettingsValue v)
std::vector< HTTPSetting > settings_
std::size_t getNumSettings() const
HTTPSettings(const std::initializer_list< SettingPair > &initialSettings)
std::vector< HTTPSetting > SettingsList
const std::vector< HTTPSetting > & getAllSettings()