TLruCache::FindByPredicate

Find the value of an entry using a predicate.

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

template<typename Predicate>
const ValueType * FindByPredicate
(
    Predicate Pred
) const

Remarks

Find the value of an entry using a predicate.

Returns

A value for which the predicate returned true, or nullptr if not found.

Parameters

Parameter

Description

Pred

The predicate functor to apply to each entry.

See Also