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 0898733029
8 changed files with 15 additions and 12 deletions

View file

@ -294,7 +294,7 @@ namespace xo {
std::size_t shallow_size() const noexcept;
/** not implemented (SchematikaParser not designed to be copyable) **/
DSchematikaParser * shallow_move(obj<AAllocator> mm) const noexcept;
DSchematikaParser * shallow_move(obj<ACollector> gc) noexcept;
/** forward gc-aware children **/
std::size_t forward_children(obj<ACollector> gc) noexcept;

View file

@ -55,7 +55,7 @@ namespace xo {
// non-const methods
/** move instance using allocator **/
static Opaque shallow_move(DSchematikaParser & self, obj<AAllocator> mm) noexcept;
static Opaque shallow_move(DSchematikaParser & self, obj<ACollector> gc) noexcept;
/** during GC: forward immdiate children **/
static size_type forward_children(DSchematikaParser & self, obj<ACollector> gc) noexcept;
///@}