TLruCache::FindAndTouchChecked

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 & FindAndTouchChecked
(
    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 triggers an assertion if the key does not exist.

Parameters

Parameter

Description

Key

The key of the entry to get.