xo-gc xo-object2 xo-alloc2: templates for FOMO [WIP]

This commit is contained in:
Roland Conybeare 2025-12-24 19:39:11 -05:00
commit 8f98ed0d2b
3 changed files with 5 additions and 2 deletions

View file

@ -3,7 +3,7 @@
DArenaIterator DArenaIterator
============== ==============
Iterator for allocs obtained from a :cpp:class:`DArena`. Iterator for allocs obtained from a :cpp:class:`xo::mm::DArena`.
Context Context
------- -------

View file

@ -6,6 +6,9 @@ IAllocator_Xfer
IAllocator_Xfer provides a type-erased interface to a specific native allocator IAllocator_Xfer provides a type-erased interface to a specific native allocator
implementation. implementation.
It supports runtime polymorphism for the cpp:class:`xo::mm::AAllocator` facet.
Application code iis unlikely to directly interact with this class
Context Context
------- -------

View file

@ -9,7 +9,7 @@ namespace xo {
ArenaConfig ArenaConfig
ArenaConfig::simple(std::size_t z) ArenaConfig::simple(std::size_t z)
{ {
return ArenaConfig { .size_ = z }; return ArenaConfig { .name_ = "anonymous", .size_ = z };
} }
} }
} }