TSortedMap::Emplace

Sets a default value associated with a key.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/SortedMap.h

Include

#include "Containers/SortedMap.h"

Syntax

template<typename InitKeyType>
ValueType & Emplace
(
    InitKeyType && InKey
)

Remarks

Sets a default value associated with a key.

Returns

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

Parameters

Parameter

Description

InKey

The key to associate the value with.