Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TMapBase
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ValueType & Emplace
(
InitKeyType&& InKey |
Set a default value associated with a key. | Containers/Map.h | |
ValueType & Emplace
(
InitKeyType&& InKey, |
Sets the value associated with a key. | Containers/Map.h |
Emplace(InitKeyType &&)
Description
Set a default value associated with a key.
| Name | Emplace |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Map.h |
| Include Path | #include "Containers/Map.h" |
template<typename InitKeyType>
ValueType & Emplace
(
InitKeyType && InKey
)
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 | Remarks |
|---|---|
| InKey | The key to associate the value with. |
Emplace(InitKeyType &&, InitValueType &&)
Description
Sets the value associated with a key.
| Name | Emplace |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Map.h |
| Include Path | #include "Containers/Map.h" |
template<typename InitKeyType, typename InitValueType>
ValueType & Emplace
(
InitKeyType && InKey,
InitValueType && InValue
)
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 | Remarks |
|---|---|
| InKey | The key to associate the value with. |
| InValue | The value to associate with the key. |