TLruCache::FindAndTouchRef

Find the value of the entry with the specified key and mark it as the most recently used.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/LruCache.h

Include

#include "Containers/LruCache.h"

Syntax

ValueType FindAndTouchRef
(
    const KeyType & Key
)

Remarks

Find the value of the entry with the specified key and mark it as the most recently used.

Returns

Copy of the value, or the default value for the ValueType if the key does not exist.

Parameters

Parameter

Description

Key

The key of the entry to get.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss