MCPcopy Create free account
hub / github.com/ElementsProject/elements / FindKey

Function FindKey

src/util/settings.h:100–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98//! Map lookup helper.
99template <typename Map, typename Key>
100auto FindKey(Map&& map, Key&& key) -> decltype(&map.at(key))
101{
102 auto it = map.find(key);
103 return it == map.end() ? nullptr : &it->second;
104}
105
106} // namespace util
107

Callers 5

SetAddressUsedMethod · 0.85
MergeSettingsFunction · 0.85
ParseParametersMethod · 0.85
ReadConfigFilesMethod · 0.85
getRwSettingMethod · 0.85

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected