#include <bursttriemap.h>
Public Member Functions | |
ElementPool () | |
ElementPool (ElementPool &&src) | |
MAXON_WARN_UNUSED void * | Alloc (INDEX &index) |
Result< void > | Free (INDEX idx) |
T * | GetElement (INDEX i) |
const T * | GetElement (INDEX i) const |
Private Attributes | |
BlockArray< AlignedStorage< SIZEOF(T), alignof(T)>, 5, BLOCKARRAYFLAGS::NOINSERTERASE > | _elements |
BaseArray< INDEX > | _freeElements |
ElementPool | ( | ) |
ElementPool | ( | ElementPool< T, INDEX > && | src | ) |
MAXON_WARN_UNUSED void* Alloc | ( | INDEX & | index | ) |
Result<void> Free | ( | INDEX | idx | ) |
T* GetElement | ( | INDEX | i | ) |
const T* GetElement | ( | INDEX | i | ) | const |
|
private |
|
private |