28 life& operator[](nidx
n);
29 const life& operator[](nidx
n)
const BY_CONST_FUNC(
operator[](
n));
30 life& operator[](
id id);
31 const life& operator[](
id id)
const BY_CONST_FUNC(
operator[](
id));
44 void* new1()
override;
Memory chunk for block-based allocation
Definition chunk.hpp:57
Binding tag for instance reference tracking and lifecycle management
Definition life.hpp:21
Weak reference smart pointer with type-safe access
Definition tweak.hpp:16
Memory watcher for tracking instance lifecycle and allocation
Definition watcher.hpp:20
nbool del(void *used, ncnt sz) override
Returns life object back to available pool
id _genId(void *pt) const
Generates unique id for instance pointer
const life * get(nidx n) const BY_CONST_FUNC(get(n)) const life *get(id new Id) const BY_CONST_FUNC(get(newId)) void *new 1() override
Allocates new life object from pre-allocated chunk
nidx _getIdx(void *it) const
Calculates index in chunk from pointer address