nw::os::IAllocator::Alloc Member Function

nw::os::IAllocator::Alloc Member Function

Syntax

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

Arguments

Name Description
size
alignment

Return Values

Description

Allocates the memory needed for the specified number of objects.


CONFIDENTIAL