memory pooling for components
More...
#include <ComponentPool.hpp>
|
|
| ComponentPool (std::size_t size=256) |
| |
|
bool | empty () const |
| |
|
std::size_t | size () const |
| |
|
void | resize (std::size_t size) |
| |
|
void | clear () override |
| |
|
T & | at (std::size_t idx) |
| |
|
const T & | at (std::size_t idx) const |
| |
|
T & | operator[] (std::size_t index) |
| |
|
const T & | operator[] (std::size_t index) const |
| |
|
void | reset (std::size_t index) override |
| |
template<class T>
class xy::Detail::ComponentPool< T >
memory pooling for components