UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
BaseKeyFuncs< ElementType, InKeyType, bInAllowDuplicateKeys > Struct Template Reference

#include <SetUtilities.h>

+ Inheritance diagram for BaseKeyFuncs< ElementType, InKeyType, bInAllowDuplicateKeys >:

Public Types

enum  { bAllowDuplicateKeys = bInAllowDuplicateKeys }
 
typedef InKeyType KeyType
 
typedef TCallTraits< InKeyType >::ParamType KeyInitType
 
typedef TCallTraits< ElementType >::ParamType ElementInitType
 

Detailed Description

template<typename ElementType, typename InKeyType, bool bInAllowDuplicateKeys = false>
struct BaseKeyFuncs< ElementType, InKeyType, bInAllowDuplicateKeys >

The base KeyFuncs type with some useful definitions for all KeyFuncs; meant to be derived from instead of used directly. bInAllowDuplicateKeys=true is slightly faster because it allows the TSet to skip validating that there isn't already a duplicate entry in the TSet.

Member Typedef Documentation

◆ ElementInitType

template<typename ElementType , typename InKeyType , bool bInAllowDuplicateKeys = false>
typedef TCallTraits<ElementType>::ParamType BaseKeyFuncs< ElementType, InKeyType, bInAllowDuplicateKeys >::ElementInitType

◆ KeyInitType

template<typename ElementType , typename InKeyType , bool bInAllowDuplicateKeys = false>
typedef TCallTraits<InKeyType>::ParamType BaseKeyFuncs< ElementType, InKeyType, bInAllowDuplicateKeys >::KeyInitType

◆ KeyType

template<typename ElementType , typename InKeyType , bool bInAllowDuplicateKeys = false>
typedef InKeyType BaseKeyFuncs< ElementType, InKeyType, bInAllowDuplicateKeys >::KeyType

Member Enumeration Documentation

◆ anonymous enum

template<typename ElementType , typename InKeyType , bool bInAllowDuplicateKeys = false>
anonymous enum
Enumerator
bAllowDuplicateKeys 

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