TLruCache::FindAndTouch

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

const ValueType * FindAndTouch
(
    const KeyType & Key
)

Remarks

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

Returns

Pointer to the value, or nullptr if not found.

Parameters

Parameter

Description

Key

The key of the entry to get.

See Also