MCPcopy Create free account
hub / github.com/AdaptiveCpp/AdaptiveCpp / retrieve_setting

Method retrieve_setting

src/common/settings.cpp:90–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90bool settings_config_file::retrieve_setting(const std::string& key, std::string& value) const {
91 auto it = _values.find(key);
92 if(it != _values.end()) {
93 value = it->second;
94 return true;
95 }
96 return false;
97}
98
99settings_config_file& settings_config_file::get() {
100 static settings_config_file cfg;

Callers 1

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected