nw::os::IAllocator Classclass IAllocator
The memory allocator interface.
| S | DEFAULT_ALIGNMENT | The default value when the alignment specification has been omitted. |
|---|---|---|
| S | CACHE_LINE_ALIGNMENT | Cache alignment. |
| Allocating and Freeing Memory | ||
|---|---|---|
| PV | Alloc | Allocates memory. |
| PV | Free | Frees memory. |
| Utilities | ||
| Alloc | Allocates memory when the alignment specification has been omitted. | |
| AllocAndClear | Allocates memory and clears with the specified byte data. | |
| AllocAndConstruct | Allocates the memory required for the specified number of objects and calls a constructor. | |
| AllocAndFill | Allocates the memory required for the specified number of objects and copies the specified object. | |
| DestructAndFree | Calls a destructor for the specified number of objects and frees memory. | |
| Other | ||
| V | ~IAllocator | Destructor. |
CONFIDENTIAL