refactor: make shallow_move() available from AGCObjectVisitor

This commit is contained in:
Roland Conybeare 2026-04-06 00:11:08 -04:00
commit 547f897c31
52 changed files with 91 additions and 49 deletions

View file

@ -53,7 +53,7 @@ namespace xo {
// const methods
// non-const methods
/** move instance using allocator **/
/** move instance using collector **/
static Opaque shallow_move(DPrimitive_gco_0 & self, obj<ACollector> gc) noexcept;
/** Invoke fn.visit_child(iface,data) for each child GCObject pointer.
Context: provides address of data pointer so it can be updated in place

View file

@ -53,7 +53,7 @@ namespace xo {
// const methods
// non-const methods
/** move instance using allocator **/
/** move instance using collector **/
static Opaque shallow_move(DPrimitive_gco_1_gco & self, obj<ACollector> gc) noexcept;
/** Invoke fn.visit_child(iface,data) for each child GCObject pointer.
Context: provides address of data pointer so it can be updated in place

View file

@ -53,7 +53,7 @@ namespace xo {
// const methods
// non-const methods
/** move instance using allocator **/
/** move instance using collector **/
static Opaque shallow_move(DPrimitive_gco_2_dict_string & self, obj<ACollector> gc) noexcept;
/** Invoke fn.visit_child(iface,data) for each child GCObject pointer.
Context: provides address of data pointer so it can be updated in place

View file

@ -53,7 +53,7 @@ namespace xo {
// const methods
// non-const methods
/** move instance using allocator **/
/** move instance using collector **/
static Opaque shallow_move(DPrimitive_gco_2_gco_gco & self, obj<ACollector> gc) noexcept;
/** Invoke fn.visit_child(iface,data) for each child GCObject pointer.
Context: provides address of data pointer so it can be updated in place

View file

@ -53,7 +53,7 @@ namespace xo {
// const methods
// non-const methods
/** move instance using allocator **/
/** move instance using collector **/
static Opaque shallow_move(DPrimitive_gco_3_dict_string_gco & self, obj<ACollector> gc) noexcept;
/** Invoke fn.visit_child(iface,data) for each child GCObject pointer.
Context: provides address of data pointer so it can be updated in place