TLruCache::ContainsByPredicate

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

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>
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