47 const chunk& operator[](nidx
n)
const BY_CONST_FUNC(
operator[](
n));
49 const chunk& operator[](
const instance& it)
const BY_CONST_FUNC(
operator[](it));
56 const chunk* get(nidx
n)
const BY_CONST_FUNC(get(
n))
57 const chunk* get(
const instance& it)
const BY_CONST_FUNC(get(it))
58 const chunk* get(
const instance* it)
const BY_CONST_FUNC(get(it))
61 void* new1()
override;
79 ncnt len()
const override;
80 ncnt size()
const override;
88 void* _get(nidx
n)
override;
91 std::vector<chunk*> _chunks;
Abstract allocator interface for memory management
Definition allocator.hpp:21
Memory chunk for block-based allocation
Definition chunk.hpp:57
Collection of memory chunks for scalable allocation
Definition chunks.hpp:36
virtual nbool resize(ncnt new1)
nbool has(const instance &it) const override
Checks if any of the managed chunks contain the memory allocated for the given instance.
Base class for all managed instances in memlite system
Definition instance.hpp:41
#define BY_SIDE_FUNC(...)
Side function macros for safe pointer operations
Definition sideFunc.hpp:24
Rich logging support with polymorphic type conversion
Definition richLog.hpp:34