nw::os::IAllocator::AllocAndConstruct Member Function
template <typename TObject>
TObject * AllocAndConstruct(
int count,
u8 alignment = DEFAULT_ALIGNMENT
);
| Name | Description | |
|---|---|---|
| in | count | Number of objects to allocate. |
| alignment |
Allocates the memory required for the specified number of objects and calls a constructor.
CONFIDENTIAL