TScriptMap::Add

Adds the (key, value) pair to the map

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/Map.h"

Syntax

void Add
(
    const void * Key,
    const void * Value,
    const FScriptMapLayout & Layout,
    TFunctionRef< uint32 *)> GetKeyHash,
    TFunctionRef< bool *, const void *)> KeyEqualityFn,
    TFunctionRef< void *)> KeyConstructAndAssignFn,
    TFunctionRef< void *)> ValueConstructAndAssignFn,
    TFunctionRef< void *)> ValueAssignFn,
    TFunctionRef< void *)> DestructKeyFn,
    TFunctionRef< void *)> DestructValueFn
)

Remarks

Adds the (key, value) pair to the map

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss