Create a base class for a memory allocator that removes the template and defines common functionality for any memory allocator.
More...
#include <htgs/core/memory/AnyMemoryAllocator.hpp>
|
|
size_t | _size |
| | The size of the memory (in elements)
|
| |
Create a base class for a memory allocator that removes the template and defines common functionality for any memory allocator.
◆ AnyMemoryAllocator()
| htgs::AnyMemoryAllocator::AnyMemoryAllocator |
( |
size_t |
size | ) |
|
|
inline |
Creates a memory allocator.
- Parameters
-
| size | the number of elements to allocate |
◆ size()
| size_t htgs::AnyMemoryAllocator::size |
( |
| ) |
const |
|
inline |
Gets the size.
- Returns
- the size
The documentation for this class was generated from the following file: