Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Containers/Map.h |
Include |
#include "Containers/Map.h" |
ValueType & AddUnique
(
const KeyType & InKey,
const ValueType & InValue
)
Add a key-value association to the map. The association doesn't replace any of the key's existing associations. However, if both the key and value match an existing association in the map, no new association is made and the existing association's value is returned.
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.
Parameter |
Description |
---|---|
InKey |
The key to associate. |
InValue |
The value to associate. |