TLruCache::FindAndTouchRef

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

Choose your operating system:

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.