TMap::FindAndRemoveChecked

Find a pair with the specified key, removes it from the map, and returns the value part of the pair.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/Map.h"

Syntax

ValueType FindAndRemoveChecked
(
    KeyConstPointerType Key
)

Remarks

Find a pair with the specified key, removes it from the map, and returns the value part of the pair.

If no pair was found, an exception is thrown.

Returns

whether or not the key was found

Parameters

Parameter

Description

Key

the key to search for

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