xo-gc xo-object2 xo-alloc2: templates for FOMO [WIP]
This commit is contained in:
parent
0136044ba2
commit
8f98ed0d2b
3 changed files with 5 additions and 2 deletions
|
|
@ -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
|
||||||
-------
|
-------
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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 };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue