nw::os::AllocateAndFill Function

Syntax

template <typename TObject>
TObject * AllocateAndFill(
     os::IAllocator * allocator,
     u8 value
);

Template Arguments

Name Description
TObject Type of object to allocate.

Arguments

Name Description
in allocator Allocator.
in value Value to fill with.

Return Values

Allocated object.

Description

Allocates memory and fills the allocated region with the specified value.


CONFIDENTIAL