xo-object2: utest: ++ allocation in collector utest

This commit is contained in:
Roland Conybeare 2026-01-02 18:55:53 -05:00
commit 3f1470f938
18 changed files with 196 additions and 26 deletions

View file

@ -231,6 +231,11 @@ namespace xo {
return with_facet<AAllocator>::mkobj(new_space()).sub_alloc(z, complete);
}
auto
DX1Collector::alloc_copy(value_type src) noexcept -> value_type {
return with_facet<AAllocator>::mkobj(new_space()).alloc_copy(src);
}
bool
DX1Collector::expand(size_type z) noexcept
{

View file

@ -102,6 +102,12 @@ namespace xo {
return d.sub_alloc(z, complete);
}
auto
IAllocator_DX1Collector::alloc_copy(DX1Collector & d, value_type src) noexcept -> value_type
{
return d.alloc_copy(src);
}
bool
IAllocator_DX1Collector::expand(DX1Collector & d, size_type z) noexcept
{