TLruCache::ContainsByPredicate

Check whether an entry for which a predicate returns true is in the cache.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/LruCache.h"

Syntax

template<typename Predicate>
bool ContainsByPredicate
(
    Predicate Pred
) const

Remarks

Check whether an entry for which a predicate returns true is in the cache.

Returns

true if at least one matching entry is in the cache, false otherwise.

Parameters

Parameter

Description

Pred

The predicate functor to apply to each entry.

See Also

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