UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
DefaultKeyComparer< KeyType > Struct Template Reference

#include <LruCache.h>

Static Public Member Functions

static UE_FORCEINLINE_HINT bool Matches (KeyType A, KeyType B)
 
static UE_FORCEINLINE_HINT uint32 GetKeyHash (KeyType Key)
 

Detailed Description

template<typename KeyType>
struct DefaultKeyComparer< KeyType >

Default comparer for keys in TLruCache.

Parameters
KeyTypeThe type of keys to compare.

Member Function Documentation

◆ GetKeyHash()

template<typename KeyType >
static UE_FORCEINLINE_HINT uint32 DefaultKeyComparer< KeyType >::GetKeyHash ( KeyType  Key)
inlinestatic

Calculates a hash index for a key.

◆ Matches()

template<typename KeyType >
static UE_FORCEINLINE_HINT bool DefaultKeyComparer< KeyType >::Matches ( KeyType  A,
KeyType  B 
)
inlinestatic

The documentation for this struct was generated from the following file: