nw::os::IAllocator::AllocAndFill Member Function

Syntax

template <typename TObject>
TObject * AllocAndFill(
     int count,
     const TObject & object,
     u8 alignment = DEFAULT_ALIGNMENT
);

Arguments

Name Description
in count Number of objects to allocate.
object
alignment

Return Values

Description

Allocates the memory required for the specified number of objects and copies the specified object.


CONFIDENTIAL