Bfd3 Core Library -

Entity* e = Entity::Pool.allocate(); e->x = 100.0f; // ... use e ... Entity::Pool.deallocate(e); // O(1), no heap call