Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers > API/Runtime/Core/Containers/TMapBase > API/Runtime/Core/Containers/TMapBase/FindOrAdd
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/Map.h |
| Include | #include "Containers/Map.h" |
ValueType & FindOrAdd
&40;
const KeyType & Key
&41;
Remarks
Find the value associated with a specified key, or if none exists, adds a value using the default constructor. A reference to the value associated with the specified key.
Parameters
| Name | Description |
|---|---|
| Key | The key to search for. |