refactor: make shallow_move() available from AGCObjectVisitor

This commit is contained in:
Roland Conybeare 2026-04-06 00:11:08 -04:00
commit db4ccfd911
8 changed files with 36 additions and 3 deletions

View file

@ -67,7 +67,7 @@ public:
virtual void _drop(Opaque d) const noexcept = 0;
// nonconst methods
/** move instance using allocator **/
/** move instance using collector **/
virtual Opaque shallow_move(Opaque data, obj<ACollector> gc) const noexcept = 0;
/** Invoke fn.visit_child(iface,data) for each child GCObject pointer.
Context: provides address of data pointer so it can be updated in place