refactor: rename GCObject.shallow_copy -> shallow_move
resolve conflict since relying on move constructor in std_copy_for
This commit is contained in:
parent
d2aa0d0c55
commit
2003c3c6f9
44 changed files with 66 additions and 66 deletions
|
|
@ -83,7 +83,7 @@ namespace xo {
|
|||
///@{
|
||||
|
||||
std::size_t shallow_size() const noexcept;
|
||||
DApplyExpr * shallow_copy(obj<AAllocator> mm) const noexcept;
|
||||
DApplyExpr * shallow_move(obj<AAllocator> mm) const noexcept;
|
||||
std::size_t forward_children(obj<ACollector> gc) noexcept;
|
||||
|
||||
///@}
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ namespace xo {
|
|||
///@{
|
||||
|
||||
size_t shallow_size() const noexcept;
|
||||
DConstant * shallow_copy(obj<AAllocator> mm) const noexcept;
|
||||
DConstant * shallow_move(obj<AAllocator> mm) const noexcept;
|
||||
size_t forward_children(obj<ACollector> gc) noexcept;
|
||||
|
||||
///@}
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ namespace xo {
|
|||
///@{
|
||||
|
||||
std::size_t shallow_size() const noexcept;
|
||||
DDefineExpr * shallow_copy(obj<AAllocator> mm) noexcept;
|
||||
DDefineExpr * shallow_move(obj<AAllocator> mm) noexcept;
|
||||
std::size_t forward_children(obj<ACollector> gc) noexcept;
|
||||
|
||||
///@}
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ namespace xo {
|
|||
///@{
|
||||
|
||||
std::size_t shallow_size() const noexcept;
|
||||
DGlobalSymtab * shallow_copy(obj<AAllocator> mm) const noexcept;
|
||||
DGlobalSymtab * shallow_move(obj<AAllocator> mm) const noexcept;
|
||||
std::size_t forward_children(obj<ACollector> gc) noexcept;
|
||||
|
||||
///@}
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ namespace xo {
|
|||
///@{
|
||||
|
||||
std::size_t shallow_size() const noexcept;
|
||||
DIfElseExpr * shallow_copy(obj<AAllocator> mm) const noexcept;
|
||||
DIfElseExpr * shallow_move(obj<AAllocator> mm) const noexcept;
|
||||
std::size_t forward_children(obj<ACollector> gc) noexcept;
|
||||
|
||||
///@}
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ namespace xo {
|
|||
///@{
|
||||
|
||||
std::size_t shallow_size() const noexcept;
|
||||
DLambdaExpr * shallow_copy(obj<AAllocator> mm) const noexcept;
|
||||
DLambdaExpr * shallow_move(obj<AAllocator> mm) const noexcept;
|
||||
std::size_t forward_children(obj<ACollector> gc) noexcept;
|
||||
|
||||
///@}
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ namespace xo {
|
|||
///@{
|
||||
|
||||
std::size_t shallow_size() const noexcept;
|
||||
DLocalSymtab * shallow_copy(obj<AAllocator> mm) noexcept;
|
||||
DLocalSymtab * shallow_move(obj<AAllocator> mm) noexcept;
|
||||
std::size_t forward_children(obj<ACollector> gc) noexcept;
|
||||
|
||||
///@}
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ namespace xo {
|
|||
///@{
|
||||
|
||||
std::size_t shallow_size() const noexcept;
|
||||
DSequenceExpr * shallow_copy(obj<AAllocator> mm) const noexcept;
|
||||
DSequenceExpr * shallow_move(obj<AAllocator> mm) const noexcept;
|
||||
std::size_t forward_children(obj<ACollector> gc) noexcept;
|
||||
|
||||
///@}
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ namespace xo {
|
|||
///@{
|
||||
|
||||
size_t shallow_size() const noexcept;
|
||||
DTypename * shallow_copy(obj<AAllocator> mm) noexcept;
|
||||
DTypename * shallow_move(obj<AAllocator> mm) noexcept;
|
||||
size_t forward_children(obj<ACollector> gc) noexcept;
|
||||
|
||||
///@}
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ namespace xo {
|
|||
///@{
|
||||
|
||||
size_t shallow_size() const noexcept;
|
||||
DVarRef * shallow_copy(obj<AAllocator> mm) const noexcept;
|
||||
DVarRef * shallow_move(obj<AAllocator> mm) const noexcept;
|
||||
size_t forward_children(obj<ACollector> gc) noexcept;
|
||||
|
||||
///@}
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ namespace xo {
|
|||
///@{
|
||||
|
||||
size_t shallow_size() const noexcept;
|
||||
DVariable * shallow_copy(obj<AAllocator> mm) const noexcept;
|
||||
DVariable * shallow_move(obj<AAllocator> mm) const noexcept;
|
||||
size_t forward_children(obj<ACollector> gc) noexcept;
|
||||
|
||||
///@}
|
||||
|
|
|
|||
|
|
@ -54,8 +54,8 @@ namespace xo {
|
|||
static size_type shallow_size(const DDefineExpr & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** copy instance using allocator **/
|
||||
static Opaque shallow_copy(DDefineExpr & self, obj<AAllocator> mm) noexcept;
|
||||
/** move instance using allocator **/
|
||||
static Opaque shallow_move(DDefineExpr & self, obj<AAllocator> mm) noexcept;
|
||||
/** during GC: forward immdiate children **/
|
||||
static size_type forward_children(DDefineExpr & self, obj<ACollector> gc) noexcept;
|
||||
///@}
|
||||
|
|
|
|||
|
|
@ -54,8 +54,8 @@ namespace xo {
|
|||
static size_type shallow_size(const DApplyExpr & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** copy instance using allocator **/
|
||||
static Opaque shallow_copy(DApplyExpr & self, obj<AAllocator> mm) noexcept;
|
||||
/** move instance using allocator **/
|
||||
static Opaque shallow_move(DApplyExpr & self, obj<AAllocator> mm) noexcept;
|
||||
/** during GC: forward immdiate children **/
|
||||
static size_type forward_children(DApplyExpr & self, obj<ACollector> gc) noexcept;
|
||||
///@}
|
||||
|
|
|
|||
|
|
@ -54,8 +54,8 @@ namespace xo {
|
|||
static size_type shallow_size(const DConstant & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** copy instance using allocator **/
|
||||
static Opaque shallow_copy(DConstant & self, obj<AAllocator> mm) noexcept;
|
||||
/** move instance using allocator **/
|
||||
static Opaque shallow_move(DConstant & self, obj<AAllocator> mm) noexcept;
|
||||
/** during GC: forward immdiate children **/
|
||||
static size_type forward_children(DConstant & self, obj<ACollector> gc) noexcept;
|
||||
///@}
|
||||
|
|
|
|||
|
|
@ -54,8 +54,8 @@ namespace xo {
|
|||
static size_type shallow_size(const DIfElseExpr & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** copy instance using allocator **/
|
||||
static Opaque shallow_copy(DIfElseExpr & self, obj<AAllocator> mm) noexcept;
|
||||
/** move instance using allocator **/
|
||||
static Opaque shallow_move(DIfElseExpr & self, obj<AAllocator> mm) noexcept;
|
||||
/** during GC: forward immdiate children **/
|
||||
static size_type forward_children(DIfElseExpr & self, obj<ACollector> gc) noexcept;
|
||||
///@}
|
||||
|
|
|
|||
|
|
@ -54,8 +54,8 @@ namespace xo {
|
|||
static size_type shallow_size(const DLambdaExpr & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** copy instance using allocator **/
|
||||
static Opaque shallow_copy(DLambdaExpr & self, obj<AAllocator> mm) noexcept;
|
||||
/** move instance using allocator **/
|
||||
static Opaque shallow_move(DLambdaExpr & self, obj<AAllocator> mm) noexcept;
|
||||
/** during GC: forward immdiate children **/
|
||||
static size_type forward_children(DLambdaExpr & self, obj<ACollector> gc) noexcept;
|
||||
///@}
|
||||
|
|
|
|||
|
|
@ -54,8 +54,8 @@ namespace xo {
|
|||
static size_type shallow_size(const DSequenceExpr & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** copy instance using allocator **/
|
||||
static Opaque shallow_copy(DSequenceExpr & self, obj<AAllocator> mm) noexcept;
|
||||
/** move instance using allocator **/
|
||||
static Opaque shallow_move(DSequenceExpr & self, obj<AAllocator> mm) noexcept;
|
||||
/** during GC: forward immdiate children **/
|
||||
static size_type forward_children(DSequenceExpr & self, obj<ACollector> gc) noexcept;
|
||||
///@}
|
||||
|
|
|
|||
|
|
@ -54,8 +54,8 @@ namespace xo {
|
|||
static size_type shallow_size(const DVarRef & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** copy instance using allocator **/
|
||||
static Opaque shallow_copy(DVarRef & self, obj<AAllocator> mm) noexcept;
|
||||
/** move instance using allocator **/
|
||||
static Opaque shallow_move(DVarRef & self, obj<AAllocator> mm) noexcept;
|
||||
/** during GC: forward immdiate children **/
|
||||
static size_type forward_children(DVarRef & self, obj<ACollector> gc) noexcept;
|
||||
///@}
|
||||
|
|
|
|||
|
|
@ -54,8 +54,8 @@ namespace xo {
|
|||
static size_type shallow_size(const DGlobalSymtab & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** copy instance using allocator **/
|
||||
static Opaque shallow_copy(DGlobalSymtab & self, obj<AAllocator> mm) noexcept;
|
||||
/** move instance using allocator **/
|
||||
static Opaque shallow_move(DGlobalSymtab & self, obj<AAllocator> mm) noexcept;
|
||||
/** during GC: forward immdiate children **/
|
||||
static size_type forward_children(DGlobalSymtab & self, obj<ACollector> gc) noexcept;
|
||||
///@}
|
||||
|
|
|
|||
|
|
@ -54,8 +54,8 @@ namespace xo {
|
|||
static size_type shallow_size(const DLocalSymtab & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** copy instance using allocator **/
|
||||
static Opaque shallow_copy(DLocalSymtab & self, obj<AAllocator> mm) noexcept;
|
||||
/** move instance using allocator **/
|
||||
static Opaque shallow_move(DLocalSymtab & self, obj<AAllocator> mm) noexcept;
|
||||
/** during GC: forward immdiate children **/
|
||||
static size_type forward_children(DLocalSymtab & self, obj<ACollector> gc) noexcept;
|
||||
///@}
|
||||
|
|
|
|||
|
|
@ -52,8 +52,8 @@ namespace xo {
|
|||
static size_type shallow_size(const DTypename & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** copy instance using allocator **/
|
||||
static Opaque shallow_copy(DTypename & self, obj<AAllocator> mm) noexcept;
|
||||
/** move instance using allocator **/
|
||||
static Opaque shallow_move(DTypename & self, obj<AAllocator> mm) noexcept;
|
||||
/** during GC: forward immdiate children **/
|
||||
static size_type forward_children(DTypename & self, obj<ACollector> gc) noexcept;
|
||||
///@}
|
||||
|
|
|
|||
|
|
@ -54,8 +54,8 @@ namespace xo {
|
|||
static size_type shallow_size(const DVariable & self) noexcept;
|
||||
|
||||
// non-const methods
|
||||
/** copy instance using allocator **/
|
||||
static Opaque shallow_copy(DVariable & self, obj<AAllocator> mm) noexcept;
|
||||
/** move instance using allocator **/
|
||||
static Opaque shallow_move(DVariable & self, obj<AAllocator> mm) noexcept;
|
||||
/** during GC: forward immdiate children **/
|
||||
static size_type forward_children(DVariable & self, obj<ACollector> gc) noexcept;
|
||||
///@}
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ namespace xo {
|
|||
}
|
||||
|
||||
DApplyExpr *
|
||||
DApplyExpr::shallow_copy(obj<AAllocator> mm) const noexcept {
|
||||
DApplyExpr::shallow_move(obj<AAllocator> mm) const noexcept {
|
||||
DApplyExpr * copy = (DApplyExpr *)mm.alloc_copy((std::byte *)this);
|
||||
|
||||
if (copy) {
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ namespace xo {
|
|||
}
|
||||
|
||||
DConstant *
|
||||
DConstant::shallow_copy(obj<AAllocator> mm) const noexcept
|
||||
DConstant::shallow_move(obj<AAllocator> mm) const noexcept
|
||||
{
|
||||
DConstant * copy = (DConstant *)mm.alloc_copy((std::byte *)this);
|
||||
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ namespace xo {
|
|||
}
|
||||
|
||||
DDefineExpr *
|
||||
DDefineExpr::shallow_copy(obj<AAllocator> mm) noexcept
|
||||
DDefineExpr::shallow_move(obj<AAllocator> mm) noexcept
|
||||
{
|
||||
return mm.std_copy_for(this);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -261,7 +261,7 @@ namespace xo {
|
|||
}
|
||||
|
||||
DGlobalSymtab *
|
||||
DGlobalSymtab::shallow_copy(obj<AAllocator> mm) const noexcept
|
||||
DGlobalSymtab::shallow_move(obj<AAllocator> mm) const noexcept
|
||||
{
|
||||
/** can't use std_copy_for because of non-copyable dp<repr_type>
|
||||
*
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ namespace xo {
|
|||
}
|
||||
|
||||
DIfElseExpr *
|
||||
DIfElseExpr::shallow_copy(obj<AAllocator> mm) const noexcept
|
||||
DIfElseExpr::shallow_move(obj<AAllocator> mm) const noexcept
|
||||
{
|
||||
DIfElseExpr * copy = (DIfElseExpr *)mm.alloc_copy((std::byte *)this);
|
||||
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ namespace xo {
|
|||
}
|
||||
|
||||
DLambdaExpr *
|
||||
DLambdaExpr::shallow_copy(obj<AAllocator> mm) const noexcept {
|
||||
DLambdaExpr::shallow_move(obj<AAllocator> mm) const noexcept {
|
||||
DLambdaExpr * copy = (DLambdaExpr *)mm.alloc_copy((std::byte *)this);
|
||||
|
||||
if (copy) {
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ namespace xo {
|
|||
}
|
||||
|
||||
DLocalSymtab *
|
||||
DLocalSymtab::shallow_copy(obj<AAllocator> mm) noexcept
|
||||
DLocalSymtab::shallow_move(obj<AAllocator> mm) noexcept
|
||||
{
|
||||
return mm.std_copy_for(this);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ namespace xo {
|
|||
}
|
||||
|
||||
DSequenceExpr *
|
||||
DSequenceExpr::shallow_copy(obj<AAllocator> mm) const noexcept
|
||||
DSequenceExpr::shallow_move(obj<AAllocator> mm) const noexcept
|
||||
{
|
||||
DSequenceExpr * copy = (DSequenceExpr *)mm.alloc_copy((std::byte *)this);
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ namespace xo {
|
|||
}
|
||||
|
||||
DTypename *
|
||||
DTypename::shallow_copy(obj<AAllocator> mm) noexcept
|
||||
DTypename::shallow_move(obj<AAllocator> mm) noexcept
|
||||
{
|
||||
return mm.std_copy_for(this);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ namespace xo {
|
|||
}
|
||||
|
||||
DVarRef *
|
||||
DVarRef::shallow_copy(obj<AAllocator> mm) const noexcept
|
||||
DVarRef::shallow_move(obj<AAllocator> mm) const noexcept
|
||||
{
|
||||
DVarRef * copy = (DVarRef *)mm.alloc_copy((std::byte *)this);
|
||||
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ namespace xo {
|
|||
}
|
||||
|
||||
DVariable *
|
||||
DVariable::shallow_copy(obj<AAllocator> mm) const noexcept
|
||||
DVariable::shallow_move(obj<AAllocator> mm) const noexcept
|
||||
{
|
||||
DVariable * copy = (DVariable *)mm.alloc_copy((std::byte *)this);
|
||||
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@ namespace xo {
|
|||
}
|
||||
|
||||
auto
|
||||
IGCObject_DApplyExpr::shallow_copy(DApplyExpr & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
IGCObject_DApplyExpr::shallow_move(DApplyExpr & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
{
|
||||
return self.shallow_copy(mm);
|
||||
return self.shallow_move(mm);
|
||||
}
|
||||
auto
|
||||
IGCObject_DApplyExpr::forward_children(DApplyExpr & self, obj<ACollector> gc) noexcept -> size_type
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@ namespace xo {
|
|||
}
|
||||
|
||||
auto
|
||||
IGCObject_DConstant::shallow_copy(DConstant & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
IGCObject_DConstant::shallow_move(DConstant & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
{
|
||||
return self.shallow_copy(mm);
|
||||
return self.shallow_move(mm);
|
||||
}
|
||||
auto
|
||||
IGCObject_DConstant::forward_children(DConstant & self, obj<ACollector> gc) noexcept -> size_type
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@ namespace xo {
|
|||
}
|
||||
|
||||
auto
|
||||
IGCObject_DDefineExpr::shallow_copy(DDefineExpr & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
IGCObject_DDefineExpr::shallow_move(DDefineExpr & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
{
|
||||
return self.shallow_copy(mm);
|
||||
return self.shallow_move(mm);
|
||||
}
|
||||
auto
|
||||
IGCObject_DDefineExpr::forward_children(DDefineExpr & self, obj<ACollector> gc) noexcept -> size_type
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@ namespace xo {
|
|||
}
|
||||
|
||||
auto
|
||||
IGCObject_DGlobalSymtab::shallow_copy(DGlobalSymtab & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
IGCObject_DGlobalSymtab::shallow_move(DGlobalSymtab & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
{
|
||||
return self.shallow_copy(mm);
|
||||
return self.shallow_move(mm);
|
||||
}
|
||||
auto
|
||||
IGCObject_DGlobalSymtab::forward_children(DGlobalSymtab & self, obj<ACollector> gc) noexcept -> size_type
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@ namespace xo {
|
|||
}
|
||||
|
||||
auto
|
||||
IGCObject_DIfElseExpr::shallow_copy(DIfElseExpr & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
IGCObject_DIfElseExpr::shallow_move(DIfElseExpr & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
{
|
||||
return self.shallow_copy(mm);
|
||||
return self.shallow_move(mm);
|
||||
}
|
||||
auto
|
||||
IGCObject_DIfElseExpr::forward_children(DIfElseExpr & self, obj<ACollector> gc) noexcept -> size_type
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@ namespace xo {
|
|||
}
|
||||
|
||||
auto
|
||||
IGCObject_DLambdaExpr::shallow_copy(DLambdaExpr & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
IGCObject_DLambdaExpr::shallow_move(DLambdaExpr & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
{
|
||||
return self.shallow_copy(mm);
|
||||
return self.shallow_move(mm);
|
||||
}
|
||||
auto
|
||||
IGCObject_DLambdaExpr::forward_children(DLambdaExpr & self, obj<ACollector> gc) noexcept -> size_type
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@ namespace xo {
|
|||
}
|
||||
|
||||
auto
|
||||
IGCObject_DLocalSymtab::shallow_copy(DLocalSymtab & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
IGCObject_DLocalSymtab::shallow_move(DLocalSymtab & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
{
|
||||
return self.shallow_copy(mm);
|
||||
return self.shallow_move(mm);
|
||||
}
|
||||
auto
|
||||
IGCObject_DLocalSymtab::forward_children(DLocalSymtab & self, obj<ACollector> gc) noexcept -> size_type
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@ namespace xo {
|
|||
}
|
||||
|
||||
auto
|
||||
IGCObject_DSequenceExpr::shallow_copy(DSequenceExpr & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
IGCObject_DSequenceExpr::shallow_move(DSequenceExpr & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
{
|
||||
return self.shallow_copy(mm);
|
||||
return self.shallow_move(mm);
|
||||
}
|
||||
auto
|
||||
IGCObject_DSequenceExpr::forward_children(DSequenceExpr & self, obj<ACollector> gc) noexcept -> size_type
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@ namespace xo {
|
|||
}
|
||||
|
||||
auto
|
||||
IGCObject_DTypename::shallow_copy(DTypename & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
IGCObject_DTypename::shallow_move(DTypename & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
{
|
||||
return self.shallow_copy(mm);
|
||||
return self.shallow_move(mm);
|
||||
}
|
||||
auto
|
||||
IGCObject_DTypename::forward_children(DTypename & self, obj<ACollector> gc) noexcept -> size_type
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@ namespace xo {
|
|||
}
|
||||
|
||||
auto
|
||||
IGCObject_DVarRef::shallow_copy(DVarRef & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
IGCObject_DVarRef::shallow_move(DVarRef & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
{
|
||||
return self.shallow_copy(mm);
|
||||
return self.shallow_move(mm);
|
||||
}
|
||||
auto
|
||||
IGCObject_DVarRef::forward_children(DVarRef & self, obj<ACollector> gc) noexcept -> size_type
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@ namespace xo {
|
|||
}
|
||||
|
||||
auto
|
||||
IGCObject_DVariable::shallow_copy(DVariable & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
IGCObject_DVariable::shallow_move(DVariable & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
{
|
||||
return self.shallow_copy(mm);
|
||||
return self.shallow_move(mm);
|
||||
}
|
||||
auto
|
||||
IGCObject_DVariable::forward_children(DVariable & self, obj<ACollector> gc) noexcept -> size_type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue