Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TLruCache
Description
Add an entry to the cache.
If an entry with the specified key already exists in the cache, the value of the existing entry will be returned. The added or updated entry will be marked as the most recently used one.
| Name | AddUninitialized_GetRef |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/LruCache.h |
| Include Path | #include "Containers/LruCache.h" |
ValueType & AddUninitialized_GetRef
(
const KeyType & Key
)
The entry's value.
Parameters
| Name | Remarks |
|---|---|
| Key | The entry's lookup key. |
See Also
-
Empty
-
Find
-
GetKeys
-
Remove