refactor: rename shallow_copy -> shallow_move + streamline

Use RCollector.std_copy_for where appropriate
This commit is contained in:
Roland Conybeare 2026-04-04 16:33:35 -04:00
commit 8ac5ba9bbb
28 changed files with 45 additions and 62 deletions

View file

@ -36,14 +36,9 @@ namespace xo {
}
DBoolean *
DBoolean::shallow_move(obj<AAllocator> mm) const noexcept
DBoolean::shallow_move(obj<ACollector> gc) noexcept
{
DBoolean * copy = (DBoolean *)mm.alloc_copy((std::byte *)this);
if (copy)
*copy = *this;
return copy;
return gc.std_copy_for(this);
}
size_t