Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers > API/Runtime/Core/Containers/TMapBase > API/Runtime/Core/Containers/TMapBase/Emplace
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/Map.h |
| Include | #include "Containers/Map.h" |
template<typename InitKeyType, typename InitValueType>
ValueType & Emplace
&40;
InitKeyType && InKey,
InitValueType && InValue
&41;
Remarks
Sets the value associated with a key. A reference to the value as stored in the map. The reference is only valid until the next change to any key in the map.
Parameters
| Name | Description |
|---|---|
| InKey | The key to associate the value with. |
| InValue | The value to associate with the key. |