nw::os::SafeFreeAll Function

Syntax

template <typename TArray>
void SafeFreeAll(
     TArray & array,
     IAllocator * allocator
);

Template Arguments

Name Description
TArray The type of the container to free.

Arguments

Name Description
in array The container of the memory to free.
in allocator Allocator.

Return Values

None.

Description

Function for using SafeFree to free the memory for all container elements.


CONFIDENTIAL