FScriptMapHelper::FindOrAdd

Finds or adds a new default-constructed value

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h

Include

#include "UObject/UnrealType.h"

Syntax

void * FindOrAdd
(
    const void * KeyPtr
)

Remarks

Finds or adds a new default-constructed value

No need to rehash after calling. The hash table must be properly hashed before calling.

Returns

The address to the value, not the pair

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