TLruCache::RemoveByPredicate

Remove all entries 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>
int32 RemoveByPredicate
(
    Predicate Pred
)

Remarks

Remove all entries using a predicate.

Returns

Number of removed entries.

Parameters

Parameter

Description

Pred

The predicate function to apply to each entry.

See Also