TScriptMap::Add

Adds the (key, value) pair to the map

Choose your operating system:

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