Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TMapBase
Description
Removes all elements from the map.
This method potentially leaves space allocated for an expected number of elements about to be added.
| Name | Empty |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/Map.h |
| Include Path | #include "Containers/Map.h" |
void Empty
(
int32 ExpectedNumElements
)
Parameters
| Name | Remarks |
|---|---|
| ExpectedNumElements | The number of elements about to be added to the set. |