(C++)
1.0.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
|
The MemoryPool class - preallocated memory container for optimization issues. More...
#include <MemoryPool.hh>
Public Member Functions | |
MemoryPool (const std::size_t BYTES=5242880u) | |
MemoryPool. More... | |
template<typename T , typename... ConstructorArguments> | |
T & | Emplace (ConstructorArguments &&... arguments) |
std::size_t | Size () const |
void | Reset () |
The MemoryPool class - preallocated memory container for optimization issues.
|
inline |
BYTES | - determines how many bytes of memory will be preallocated |