MCPcopy Create free account
hub / github.com/MyGUI/mygui / mapSet

Function mapSet

MyGUIEngine/include/MyGUI_Macros.h:36–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 */
35 template<class Map, class Value>
36 inline void mapSet(Map& map, std::string_view key, const Value& value)
37 {
38 auto it = map.find(key);
39 if (it == map.end())
40 map.emplace(key, value);
41 else
42 it->second = value;
43 }
44
45} // namespace MyGUI
46

Callers 6

setClipboardDataMethod · 0.50
addPropertyMethod · 0.50
setUserStringMethod · 0.50
_loadLanguageXMLMethod · 0.50
addParamMethod · 0.50
parseWidgetMethod · 0.50

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected