nw::os::IAllocator::AllocAndClear Member Function

Syntax

template <typename TObject>
TObject * AllocAndClear(
     size_t size,
     u8 data,
     u8 alignment = DEFAULT_ALIGNMENT
);

Arguments

Name Description
size
data
alignment

Return Values

Description

Allocates the memory needed for the specified number of objects, and clears with the specified byte data.


CONFIDENTIAL