UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TKeyInitializer< KeyInitType > Class Template Reference

#include <Map.h>

Public Member Functions

UE_FORCEINLINE_HINT TKeyInitializer (KeyInitType InKey)
 
template<typename KeyType , typename ValueType >
 operator TPair< KeyType, ValueType > () const
 

Public Attributes

std::conditional_t< std::is_rvalue_reference_v< KeyInitType >, KeyInitType &, KeyInitType > Key
 

Detailed Description

template<typename KeyInitType>
class TKeyInitializer< KeyInitType >

An initializer type for keys that's passed to the pair set when adding a new key.

Constructor & Destructor Documentation

◆ TKeyInitializer()

template<typename KeyInitType >
UE_FORCEINLINE_HINT TKeyInitializer< KeyInitType >::TKeyInitializer ( KeyInitType  InKey)
inlineexplicit

Initialization constructor.

Member Function Documentation

◆ operator TPair< KeyType, ValueType >()

template<typename KeyInitType >
template<typename KeyType , typename ValueType >
TKeyInitializer< KeyInitType >::operator TPair< KeyType, ValueType > ( ) const
inline

Member Data Documentation

◆ Key

template<typename KeyInitType >
std::conditional_t<std::is_rvalue_reference_v<KeyInitType>, KeyInitType&, KeyInitType> TKeyInitializer< KeyInitType >::Key

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