nw::os::AllocateAndAssignN Function
template <typename TObject>
TObject * AllocateAndAssignN(
os::IAllocator * allocator,
int count,
TObject object
);
| Name | Description |
|---|---|
TObject |
Type of object to allocate. |
| Name | Description | |
|---|---|---|
| in | allocator | Allocator. |
| in | count | Quantity to be allocated. |
| in | object | Value to fill with. |
Allocates memory of the specified size, and assigns the allocated region with the specified value.
CONFIDENTIAL