DefaultKeyComparer

Default comparer for keys in [TLruCache](API\Runtime\Core\Containers\TLruCache).

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 KeyType>
struct DefaultKeyComparer

Remarks

Default comparer for keys in TLruCache.

Functions

Name Description

Public function Static

uint32

 

GetKeyHash

(
    KeyType Key
)

Calculates a hash index for a key.

Public function Static

bool

 

Matches

(
    KeyType A,
    KeyType B
)