TMapBase::Empty

Removes all elements from the map.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/Map.h"

Syntax

void Empty
(
    int32 ExpectedNumElements
)

Remarks

Removes all elements from the map.

This method potentially leaves space allocated for an expected number of elements about to be added.

Parameters

Parameter

Description

ExpectedNumElements

The number of elements about to be added to the set.

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