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

Syntax

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

Arguments

Name Description
size
object
alignment

Return Values

Description

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


CONFIDENTIAL