TMapBase::Emplace

Syntax

template<typename InitKeyType, typename InitValueType>
ValueType & Emplace
(
    InitKeyType && InKey,
    InitValueType && InValue
)

Remarks

Sets the value associated with a key.

Returns

A reference to the value as stored in the map. The reference is only valid until the next change to any key in the map.

Parameters

Parameter

Description

InKey

The key to associate the value with.

InValue

The value to associate with the key.

References

Module

Core

Header

Runtime/Core/Public/Containers/Map.h