MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / FindKey

Function FindKey

src/common/settings.h:107–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105//! Map lookup helper.
106template <typename Map, typename Key>
107auto FindKey(Map&& map, Key&& key) -> decltype(&map.at(key))
108{
109 auto it = map.find(key);
110 return it == map.end() ? nullptr : &it->second;
111}
112
113} // namespace common
114

Callers 8

MergeSettingsFunction · 0.85
ParseParametersMethod · 0.85
ReadConfigFilesMethod · 0.85
isSettingIgnoredMethod · 0.85
getRwSettingMethod · 0.85
updateRwSettingMethod · 0.85

Calls 3

findMethod · 0.80
atMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected