TSortedMap::RemoveAndCopyValue

Removes the pair with the specified key and copies the value that was removed to the ref parameter.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/SortedMap.h"

Syntax

bool RemoveAndCopyValue
(
    KeyInitType Key,
    ValueType & OutRemovedValue
)

Remarks

Removes the pair with the specified key and copies the value that was removed to the ref parameter.

Returns

Whether or not the key was found

Parameters

Parameter

Description

Key

The key to search for

OutRemovedValue

If found, the value that was removed (not modified if the key was not found)

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