xo-alloc2: DX1CollectorIterator infra [WIP]

This commit is contained in:
Roland Conybeare 2025-12-17 20:16:46 -05:00
commit 4fb50592ac
32 changed files with 1049 additions and 185 deletions

View file

@ -7,7 +7,6 @@
namespace xo {
namespace mm {
auto
AllocInfo::guard_lo() const noexcept -> span_type
{
@ -18,6 +17,18 @@ namespace xo {
p_guard_lo_ + p_config_->guard_z_);
}
auto
AllocInfo::payload() const noexcept -> span_type
{
if (!p_header_)
return span_type(nullptr, nullptr);
byte * lo = (byte *)(p_header_ + 1);
size_type z = this->size();
return span_type(lo, lo+z);
}
auto
AllocInfo::guard_hi() const noexcept -> span_type
{