From 30dee1b97f738717f732848c40692b0a2e9cd738 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Sat, 4 Apr 2026 17:30:03 -0400 Subject: [PATCH] refactor: retire GCObject.shallow_size() Not needed. Rely on size stored in gc-owned object header --- xo-alloc2/idl/GCObject.json5 | 18 +++++++++--------- xo-alloc2/include/xo/alloc2/gc/AGCObject.hpp | 2 -- .../include/xo/alloc2/gc/IGCObject_Any.hpp | 1 - .../include/xo/alloc2/gc/IGCObject_Xfer.hpp | 3 --- xo-alloc2/include/xo/alloc2/gc/RGCObject.hpp | 3 --- .../define/IGCObject_DDefineExpr.hpp | 2 -- .../detail/IGCObject_DApplyExpr.hpp | 2 -- .../expression2/detail/IGCObject_DConstant.hpp | 2 -- .../detail/IGCObject_DIfElseExpr.hpp | 2 -- .../detail/IGCObject_DLambdaExpr.hpp | 2 -- .../detail/IGCObject_DSequenceExpr.hpp | 2 -- .../expression2/detail/IGCObject_DVarRef.hpp | 2 -- .../symtab/IGCObject_DGlobalSymtab.hpp | 2 -- .../symtab/IGCObject_DLocalSymtab.hpp | 2 -- .../typename/IGCObject_DTypename.hpp | 2 -- .../variable/IGCObject_DVariable.hpp | 2 -- .../src/expression2/IGCObject_DApplyExpr.cpp | 6 ------ .../src/expression2/IGCObject_DConstant.cpp | 6 ------ .../src/expression2/IGCObject_DDefineExpr.cpp | 6 ------ .../expression2/IGCObject_DGlobalSymtab.cpp | 6 ------ .../src/expression2/IGCObject_DIfElseExpr.cpp | 6 ------ .../src/expression2/IGCObject_DLambdaExpr.cpp | 6 ------ .../src/expression2/IGCObject_DLocalSymtab.cpp | 6 ------ .../expression2/IGCObject_DSequenceExpr.cpp | 6 ------ .../src/expression2/IGCObject_DTypename.cpp | 6 ------ .../src/expression2/IGCObject_DVarRef.cpp | 6 ------ .../expression2/facet/IGCObject_DVariable.cpp | 6 ------ .../define/IGCObject_DVsmDefContFrame.hpp | 2 -- .../interpreter2/detail/IGCObject_DClosure.hpp | 2 -- .../detail/IGCObject_DVsmApplyClosureFrame.hpp | 2 -- .../detail/IGCObject_DVsmApplyFrame.hpp | 2 -- .../detail/IGCObject_DVsmEvalArgsFrame.hpp | 2 -- .../interpreter2/env/IGCObject_DLocalEnv.hpp | 2 -- .../ifelse/IGCObject_DVsmIfElseContFrame.hpp | 2 -- .../sequence/IGCObject_DVsmSeqContFrame.hpp | 2 -- .../IGCObject_DVirtualSchematikaMachine.hpp | 2 -- .../src/interpreter2/IGCObject_DClosure.cpp | 6 ------ .../IGCObject_DVsmApplyClosureFrame.cpp | 6 ------ .../interpreter2/IGCObject_DVsmApplyFrame.cpp | 6 ------ .../IGCObject_DVsmDefContFrame.cpp | 6 ------ .../IGCObject_DVsmEvalArgsFrame.cpp | 6 ------ .../IGCObject_DVsmIfElseContFrame.cpp | 6 ------ .../IGCObject_DVsmSeqContFrame.cpp | 6 ------ .../interpreter2/facet/IGCObject_DLocalEnv.cpp | 6 ------ .../IGCObject_DVirtualSchematikaMachine.cpp | 6 ------ .../xo/object2/array/IGCObject_DArray.hpp | 2 -- .../xo/object2/boolean/IGCObject_DBoolean.hpp | 2 -- .../dictionary/IGCObject_DDictionary.hpp | 2 -- .../object2/error/IGCObject_DRuntimeError.hpp | 2 -- .../xo/object2/list/IGCObject_DList.hpp | 2 -- .../xo/object2/number/IGCObject_DFloat.hpp | 2 -- .../xo/object2/number/IGCObject_DInteger.hpp | 2 -- xo-object2/src/object2/IGCObject_DArray.cpp | 6 ------ xo-object2/src/object2/IGCObject_DBoolean.cpp | 6 ------ .../src/object2/IGCObject_DDictionary.cpp | 6 ------ xo-object2/src/object2/IGCObject_DFloat.cpp | 6 ------ xo-object2/src/object2/IGCObject_DInteger.cpp | 6 ------ xo-object2/src/object2/IGCObject_DList.cpp | 6 ------ .../src/object2/IGCObject_DRuntimeError.cpp | 6 ------ .../detail/IGCObject_DPrimitive_gco_0.hpp | 2 -- .../detail/IGCObject_DPrimitive_gco_1_gco.hpp | 2 -- .../IGCObject_DPrimitive_gco_2_dict_string.hpp | 2 -- .../IGCObject_DPrimitive_gco_2_gco_gco.hpp | 2 -- ...Object_DPrimitive_gco_3_dict_string_gco.hpp | 2 -- .../facet/IGCObject_DPrimitive_gco_0.cpp | 6 ------ .../facet/IGCObject_DPrimitive_gco_1_gco.cpp | 6 ------ .../IGCObject_DPrimitive_gco_2_dict_string.cpp | 6 ------ .../IGCObject_DPrimitive_gco_2_gco_gco.cpp | 6 ------ ...Object_DPrimitive_gco_3_dict_string_gco.cpp | 6 ------ .../xo/reader2/env/IGCObject_DGlobalEnv.hpp | 2 -- .../parser/IGCObject_DSchematikaParser.hpp | 2 -- .../src/reader2/facet/IGCObject_DGlobalEnv.cpp | 6 ------ .../facet/IGCObject_DSchematikaParser.cpp | 6 ------ .../stringtable2/string/IGCObject_DString.hpp | 2 -- .../uniquestring/IGCObject_DUniqueString.hpp | 2 -- .../src/stringtable2/IGCObject_DString.cpp | 6 ------ .../stringtable2/IGCObject_DUniqueString.cpp | 6 ------ .../xo/type/array/IGCObject_DArrayType.hpp | 2 -- .../xo/type/atomic/IGCObject_DAtomicType.hpp | 2 -- .../type/function/IGCObject_DFunctionType.hpp | 2 -- .../xo/type/list/IGCObject_DListType.hpp | 2 -- .../xo/type/typevar/IGCObject_DTypeVarRef.hpp | 2 -- xo-type/src/type/IGCObject_DArrayType.cpp | 6 ------ xo-type/src/type/IGCObject_DAtomicType.cpp | 6 ------ xo-type/src/type/IGCObject_DFunctionType.cpp | 6 ------ xo-type/src/type/IGCObject_DListType.cpp | 6 ------ xo-type/src/type/IGCObject_DTypeVarRef.cpp | 6 ------ 87 files changed, 9 insertions(+), 346 deletions(-) diff --git a/xo-alloc2/idl/GCObject.json5 b/xo-alloc2/idl/GCObject.json5 index 13f97710..2b0b6695 100644 --- a/xo-alloc2/idl/GCObject.json5 +++ b/xo-alloc2/idl/GCObject.json5 @@ -45,15 +45,15 @@ ], const_methods: [ // size_type shallow_size() const noexcept - { - name: "shallow_size", - doc: ["memory consumption for this instance"], - return_type: "size_type", - args: [], - const: true, - noexcept: true, - attributes: [], - }, +// { +// name: "shallow_size", +// doc: ["memory consumption for this instance"], +// return_type: "size_type", +// args: [], +// const: true, +// noexcept: true, +// attributes: [], +// }, ], nonconst_methods: [ // Opaque shallow_move(obj>) noexcept diff --git a/xo-alloc2/include/xo/alloc2/gc/AGCObject.hpp b/xo-alloc2/include/xo/alloc2/gc/AGCObject.hpp index 463b3300..b5b9fb0b 100644 --- a/xo-alloc2/include/xo/alloc2/gc/AGCObject.hpp +++ b/xo-alloc2/include/xo/alloc2/gc/AGCObject.hpp @@ -62,8 +62,6 @@ public: virtual typeseq _typeseq() const noexcept = 0; /** destroy instance @p d; calls c++ dtor only for actual runtime type; does not recover memory **/ virtual void _drop(Opaque d) const noexcept = 0; - /** memory consumption for this instance **/ - virtual size_type shallow_size(Copaque data) const noexcept = 0; // nonconst methods /** move instance using allocator **/ diff --git a/xo-alloc2/include/xo/alloc2/gc/IGCObject_Any.hpp b/xo-alloc2/include/xo/alloc2/gc/IGCObject_Any.hpp index e3ebe179..34f0bca2 100644 --- a/xo-alloc2/include/xo/alloc2/gc/IGCObject_Any.hpp +++ b/xo-alloc2/include/xo/alloc2/gc/IGCObject_Any.hpp @@ -61,7 +61,6 @@ namespace mm { [[noreturn]] void _drop(Opaque) const noexcept override { _fatal(); } // const methods - [[noreturn]] size_type shallow_size(Copaque) const noexcept override { _fatal(); } // nonconst methods [[noreturn]] Opaque shallow_move(Opaque, obj) const noexcept override; diff --git a/xo-alloc2/include/xo/alloc2/gc/IGCObject_Xfer.hpp b/xo-alloc2/include/xo/alloc2/gc/IGCObject_Xfer.hpp index 3b786fb0..d69184ce 100644 --- a/xo-alloc2/include/xo/alloc2/gc/IGCObject_Xfer.hpp +++ b/xo-alloc2/include/xo/alloc2/gc/IGCObject_Xfer.hpp @@ -49,9 +49,6 @@ namespace mm { void _drop(Opaque d) const noexcept override { _dcast(d).~DRepr(); } // const methods - size_type shallow_size(Copaque data) const noexcept override { - return I::shallow_size(_dcast(data)); - } // non-const methods Opaque shallow_move(Opaque data, obj gc) const noexcept override { diff --git a/xo-alloc2/include/xo/alloc2/gc/RGCObject.hpp b/xo-alloc2/include/xo/alloc2/gc/RGCObject.hpp index f9927282..a0de103c 100644 --- a/xo-alloc2/include/xo/alloc2/gc/RGCObject.hpp +++ b/xo-alloc2/include/xo/alloc2/gc/RGCObject.hpp @@ -55,9 +55,6 @@ public: void _drop() const noexcept { O::iface()->_drop(O::data()); } // const methods - size_type shallow_size() const noexcept { - return O::iface()->shallow_size(O::data()); - } // non-const methods (still const in router!) Opaque shallow_move(obj gc) noexcept { diff --git a/xo-expression2/include/xo/expression2/define/IGCObject_DDefineExpr.hpp b/xo-expression2/include/xo/expression2/define/IGCObject_DDefineExpr.hpp index e01e7be7..c0e774c8 100644 --- a/xo-expression2/include/xo/expression2/define/IGCObject_DDefineExpr.hpp +++ b/xo-expression2/include/xo/expression2/define/IGCObject_DDefineExpr.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-ddefineexpr-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DDefineExpr & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-expression2/include/xo/expression2/detail/IGCObject_DApplyExpr.hpp b/xo-expression2/include/xo/expression2/detail/IGCObject_DApplyExpr.hpp index b85665c8..477a9b77 100644 --- a/xo-expression2/include/xo/expression2/detail/IGCObject_DApplyExpr.hpp +++ b/xo-expression2/include/xo/expression2/detail/IGCObject_DApplyExpr.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-dapplyexpr-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DApplyExpr & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-expression2/include/xo/expression2/detail/IGCObject_DConstant.hpp b/xo-expression2/include/xo/expression2/detail/IGCObject_DConstant.hpp index 91bf9638..6d631c74 100644 --- a/xo-expression2/include/xo/expression2/detail/IGCObject_DConstant.hpp +++ b/xo-expression2/include/xo/expression2/detail/IGCObject_DConstant.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-dconstant-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DConstant & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-expression2/include/xo/expression2/detail/IGCObject_DIfElseExpr.hpp b/xo-expression2/include/xo/expression2/detail/IGCObject_DIfElseExpr.hpp index 59aae40f..c4917774 100644 --- a/xo-expression2/include/xo/expression2/detail/IGCObject_DIfElseExpr.hpp +++ b/xo-expression2/include/xo/expression2/detail/IGCObject_DIfElseExpr.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-difelseexpr-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DIfElseExpr & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-expression2/include/xo/expression2/detail/IGCObject_DLambdaExpr.hpp b/xo-expression2/include/xo/expression2/detail/IGCObject_DLambdaExpr.hpp index 2351256d..6a484b28 100644 --- a/xo-expression2/include/xo/expression2/detail/IGCObject_DLambdaExpr.hpp +++ b/xo-expression2/include/xo/expression2/detail/IGCObject_DLambdaExpr.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-dlambdaexpr-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DLambdaExpr & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-expression2/include/xo/expression2/detail/IGCObject_DSequenceExpr.hpp b/xo-expression2/include/xo/expression2/detail/IGCObject_DSequenceExpr.hpp index c3fba848..0bcf1f90 100644 --- a/xo-expression2/include/xo/expression2/detail/IGCObject_DSequenceExpr.hpp +++ b/xo-expression2/include/xo/expression2/detail/IGCObject_DSequenceExpr.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-dsequenceexpr-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DSequenceExpr & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-expression2/include/xo/expression2/detail/IGCObject_DVarRef.hpp b/xo-expression2/include/xo/expression2/detail/IGCObject_DVarRef.hpp index 97b0f3d6..91c1888c 100644 --- a/xo-expression2/include/xo/expression2/detail/IGCObject_DVarRef.hpp +++ b/xo-expression2/include/xo/expression2/detail/IGCObject_DVarRef.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-dvarref-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DVarRef & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-expression2/include/xo/expression2/symtab/IGCObject_DGlobalSymtab.hpp b/xo-expression2/include/xo/expression2/symtab/IGCObject_DGlobalSymtab.hpp index 5de0f0da..692be2fc 100644 --- a/xo-expression2/include/xo/expression2/symtab/IGCObject_DGlobalSymtab.hpp +++ b/xo-expression2/include/xo/expression2/symtab/IGCObject_DGlobalSymtab.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-dglobalsymtab-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DGlobalSymtab & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-expression2/include/xo/expression2/symtab/IGCObject_DLocalSymtab.hpp b/xo-expression2/include/xo/expression2/symtab/IGCObject_DLocalSymtab.hpp index 6b9d81a1..42de5a79 100644 --- a/xo-expression2/include/xo/expression2/symtab/IGCObject_DLocalSymtab.hpp +++ b/xo-expression2/include/xo/expression2/symtab/IGCObject_DLocalSymtab.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-dlocalsymtab-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DLocalSymtab & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-expression2/include/xo/expression2/typename/IGCObject_DTypename.hpp b/xo-expression2/include/xo/expression2/typename/IGCObject_DTypename.hpp index 5e94f460..3ed445aa 100644 --- a/xo-expression2/include/xo/expression2/typename/IGCObject_DTypename.hpp +++ b/xo-expression2/include/xo/expression2/typename/IGCObject_DTypename.hpp @@ -48,8 +48,6 @@ namespace xo { /** @defgroup scm-gcobject-dtypename-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DTypename & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-expression2/include/xo/expression2/variable/IGCObject_DVariable.hpp b/xo-expression2/include/xo/expression2/variable/IGCObject_DVariable.hpp index f7745ca9..84c224cd 100644 --- a/xo-expression2/include/xo/expression2/variable/IGCObject_DVariable.hpp +++ b/xo-expression2/include/xo/expression2/variable/IGCObject_DVariable.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-dvariable-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DVariable & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-expression2/src/expression2/IGCObject_DApplyExpr.cpp b/xo-expression2/src/expression2/IGCObject_DApplyExpr.cpp index d891b9de..56fdda92 100644 --- a/xo-expression2/src/expression2/IGCObject_DApplyExpr.cpp +++ b/xo-expression2/src/expression2/IGCObject_DApplyExpr.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DApplyExpr::shallow_size(const DApplyExpr & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DApplyExpr::shallow_move(DApplyExpr & self, obj gc) noexcept -> Opaque { diff --git a/xo-expression2/src/expression2/IGCObject_DConstant.cpp b/xo-expression2/src/expression2/IGCObject_DConstant.cpp index 256ba991..62bf0fd7 100644 --- a/xo-expression2/src/expression2/IGCObject_DConstant.cpp +++ b/xo-expression2/src/expression2/IGCObject_DConstant.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DConstant::shallow_size(const DConstant & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DConstant::shallow_move(DConstant & self, obj gc) noexcept -> Opaque { diff --git a/xo-expression2/src/expression2/IGCObject_DDefineExpr.cpp b/xo-expression2/src/expression2/IGCObject_DDefineExpr.cpp index b10d3ecd..91c83d67 100644 --- a/xo-expression2/src/expression2/IGCObject_DDefineExpr.cpp +++ b/xo-expression2/src/expression2/IGCObject_DDefineExpr.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DDefineExpr::shallow_size(const DDefineExpr & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DDefineExpr::shallow_move(DDefineExpr & self, obj gc) noexcept -> Opaque { diff --git a/xo-expression2/src/expression2/IGCObject_DGlobalSymtab.cpp b/xo-expression2/src/expression2/IGCObject_DGlobalSymtab.cpp index 70f541d3..9f9549ae 100644 --- a/xo-expression2/src/expression2/IGCObject_DGlobalSymtab.cpp +++ b/xo-expression2/src/expression2/IGCObject_DGlobalSymtab.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DGlobalSymtab::shallow_size(const DGlobalSymtab & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DGlobalSymtab::shallow_move(DGlobalSymtab & self, obj gc) noexcept -> Opaque { diff --git a/xo-expression2/src/expression2/IGCObject_DIfElseExpr.cpp b/xo-expression2/src/expression2/IGCObject_DIfElseExpr.cpp index 05e997cf..532cad21 100644 --- a/xo-expression2/src/expression2/IGCObject_DIfElseExpr.cpp +++ b/xo-expression2/src/expression2/IGCObject_DIfElseExpr.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DIfElseExpr::shallow_size(const DIfElseExpr & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DIfElseExpr::shallow_move(DIfElseExpr & self, obj gc) noexcept -> Opaque { diff --git a/xo-expression2/src/expression2/IGCObject_DLambdaExpr.cpp b/xo-expression2/src/expression2/IGCObject_DLambdaExpr.cpp index 0999c696..b6045e90 100644 --- a/xo-expression2/src/expression2/IGCObject_DLambdaExpr.cpp +++ b/xo-expression2/src/expression2/IGCObject_DLambdaExpr.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DLambdaExpr::shallow_size(const DLambdaExpr & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DLambdaExpr::shallow_move(DLambdaExpr & self, obj gc) noexcept -> Opaque { diff --git a/xo-expression2/src/expression2/IGCObject_DLocalSymtab.cpp b/xo-expression2/src/expression2/IGCObject_DLocalSymtab.cpp index bf6d3b51..df9bc0b7 100644 --- a/xo-expression2/src/expression2/IGCObject_DLocalSymtab.cpp +++ b/xo-expression2/src/expression2/IGCObject_DLocalSymtab.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DLocalSymtab::shallow_size(const DLocalSymtab & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DLocalSymtab::shallow_move(DLocalSymtab & self, obj gc) noexcept -> Opaque { diff --git a/xo-expression2/src/expression2/IGCObject_DSequenceExpr.cpp b/xo-expression2/src/expression2/IGCObject_DSequenceExpr.cpp index 9ba1cab8..36efcbfe 100644 --- a/xo-expression2/src/expression2/IGCObject_DSequenceExpr.cpp +++ b/xo-expression2/src/expression2/IGCObject_DSequenceExpr.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DSequenceExpr::shallow_size(const DSequenceExpr & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DSequenceExpr::shallow_move(DSequenceExpr & self, obj gc) noexcept -> Opaque { diff --git a/xo-expression2/src/expression2/IGCObject_DTypename.cpp b/xo-expression2/src/expression2/IGCObject_DTypename.cpp index 76bf837f..246b7bd5 100644 --- a/xo-expression2/src/expression2/IGCObject_DTypename.cpp +++ b/xo-expression2/src/expression2/IGCObject_DTypename.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DTypename::shallow_size(const DTypename & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DTypename::shallow_move(DTypename & self, obj gc) noexcept -> Opaque { diff --git a/xo-expression2/src/expression2/IGCObject_DVarRef.cpp b/xo-expression2/src/expression2/IGCObject_DVarRef.cpp index e9869fdf..fc0934fd 100644 --- a/xo-expression2/src/expression2/IGCObject_DVarRef.cpp +++ b/xo-expression2/src/expression2/IGCObject_DVarRef.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DVarRef::shallow_size(const DVarRef & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DVarRef::shallow_move(DVarRef & self, obj gc) noexcept -> Opaque { diff --git a/xo-expression2/src/expression2/facet/IGCObject_DVariable.cpp b/xo-expression2/src/expression2/facet/IGCObject_DVariable.cpp index 657ce453..7b2103d6 100644 --- a/xo-expression2/src/expression2/facet/IGCObject_DVariable.cpp +++ b/xo-expression2/src/expression2/facet/IGCObject_DVariable.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DVariable::shallow_size(const DVariable & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DVariable::shallow_move(DVariable & self, obj gc) noexcept -> Opaque { diff --git a/xo-interpreter2/include/xo/interpreter2/define/IGCObject_DVsmDefContFrame.hpp b/xo-interpreter2/include/xo/interpreter2/define/IGCObject_DVsmDefContFrame.hpp index 131d57ae..7d082c38 100644 --- a/xo-interpreter2/include/xo/interpreter2/define/IGCObject_DVsmDefContFrame.hpp +++ b/xo-interpreter2/include/xo/interpreter2/define/IGCObject_DVsmDefContFrame.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-dvsmdefcontframe-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DVsmDefContFrame & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-interpreter2/include/xo/interpreter2/detail/IGCObject_DClosure.hpp b/xo-interpreter2/include/xo/interpreter2/detail/IGCObject_DClosure.hpp index c0d7d22b..84502baa 100644 --- a/xo-interpreter2/include/xo/interpreter2/detail/IGCObject_DClosure.hpp +++ b/xo-interpreter2/include/xo/interpreter2/detail/IGCObject_DClosure.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-dclosure-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DClosure & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-interpreter2/include/xo/interpreter2/detail/IGCObject_DVsmApplyClosureFrame.hpp b/xo-interpreter2/include/xo/interpreter2/detail/IGCObject_DVsmApplyClosureFrame.hpp index 2a2e9034..9a2e478d 100644 --- a/xo-interpreter2/include/xo/interpreter2/detail/IGCObject_DVsmApplyClosureFrame.hpp +++ b/xo-interpreter2/include/xo/interpreter2/detail/IGCObject_DVsmApplyClosureFrame.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-dvsmapplyclosureframe-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DVsmApplyClosureFrame & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-interpreter2/include/xo/interpreter2/detail/IGCObject_DVsmApplyFrame.hpp b/xo-interpreter2/include/xo/interpreter2/detail/IGCObject_DVsmApplyFrame.hpp index 83d88686..9de1e8f3 100644 --- a/xo-interpreter2/include/xo/interpreter2/detail/IGCObject_DVsmApplyFrame.hpp +++ b/xo-interpreter2/include/xo/interpreter2/detail/IGCObject_DVsmApplyFrame.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-dvsmapplyframe-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DVsmApplyFrame & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-interpreter2/include/xo/interpreter2/detail/IGCObject_DVsmEvalArgsFrame.hpp b/xo-interpreter2/include/xo/interpreter2/detail/IGCObject_DVsmEvalArgsFrame.hpp index cd53aa9d..9e2841a6 100644 --- a/xo-interpreter2/include/xo/interpreter2/detail/IGCObject_DVsmEvalArgsFrame.hpp +++ b/xo-interpreter2/include/xo/interpreter2/detail/IGCObject_DVsmEvalArgsFrame.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-dvsmevalargsframe-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DVsmEvalArgsFrame & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-interpreter2/include/xo/interpreter2/env/IGCObject_DLocalEnv.hpp b/xo-interpreter2/include/xo/interpreter2/env/IGCObject_DLocalEnv.hpp index 8576aeda..e4de912e 100644 --- a/xo-interpreter2/include/xo/interpreter2/env/IGCObject_DLocalEnv.hpp +++ b/xo-interpreter2/include/xo/interpreter2/env/IGCObject_DLocalEnv.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-dlocalenv-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DLocalEnv & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-interpreter2/include/xo/interpreter2/ifelse/IGCObject_DVsmIfElseContFrame.hpp b/xo-interpreter2/include/xo/interpreter2/ifelse/IGCObject_DVsmIfElseContFrame.hpp index 18297357..a3cede47 100644 --- a/xo-interpreter2/include/xo/interpreter2/ifelse/IGCObject_DVsmIfElseContFrame.hpp +++ b/xo-interpreter2/include/xo/interpreter2/ifelse/IGCObject_DVsmIfElseContFrame.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-dvsmifelsecontframe-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DVsmIfElseContFrame & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-interpreter2/include/xo/interpreter2/sequence/IGCObject_DVsmSeqContFrame.hpp b/xo-interpreter2/include/xo/interpreter2/sequence/IGCObject_DVsmSeqContFrame.hpp index ca457e3d..14367b50 100644 --- a/xo-interpreter2/include/xo/interpreter2/sequence/IGCObject_DVsmSeqContFrame.hpp +++ b/xo-interpreter2/include/xo/interpreter2/sequence/IGCObject_DVsmSeqContFrame.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-dvsmseqcontframe-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DVsmSeqContFrame & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-interpreter2/include/xo/interpreter2/vsm/IGCObject_DVirtualSchematikaMachine.hpp b/xo-interpreter2/include/xo/interpreter2/vsm/IGCObject_DVirtualSchematikaMachine.hpp index 0a51165e..073e9fac 100644 --- a/xo-interpreter2/include/xo/interpreter2/vsm/IGCObject_DVirtualSchematikaMachine.hpp +++ b/xo-interpreter2/include/xo/interpreter2/vsm/IGCObject_DVirtualSchematikaMachine.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-dvirtualschematikamachine-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DVirtualSchematikaMachine & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-interpreter2/src/interpreter2/IGCObject_DClosure.cpp b/xo-interpreter2/src/interpreter2/IGCObject_DClosure.cpp index ac9f1932..3f6af457 100644 --- a/xo-interpreter2/src/interpreter2/IGCObject_DClosure.cpp +++ b/xo-interpreter2/src/interpreter2/IGCObject_DClosure.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DClosure::shallow_size(const DClosure & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DClosure::shallow_move(DClosure & self, obj gc) noexcept -> Opaque { diff --git a/xo-interpreter2/src/interpreter2/IGCObject_DVsmApplyClosureFrame.cpp b/xo-interpreter2/src/interpreter2/IGCObject_DVsmApplyClosureFrame.cpp index 2904c6be..cd0bed84 100644 --- a/xo-interpreter2/src/interpreter2/IGCObject_DVsmApplyClosureFrame.cpp +++ b/xo-interpreter2/src/interpreter2/IGCObject_DVsmApplyClosureFrame.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DVsmApplyClosureFrame::shallow_size(const DVsmApplyClosureFrame & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DVsmApplyClosureFrame::shallow_move(DVsmApplyClosureFrame & self, obj gc) noexcept -> Opaque { diff --git a/xo-interpreter2/src/interpreter2/IGCObject_DVsmApplyFrame.cpp b/xo-interpreter2/src/interpreter2/IGCObject_DVsmApplyFrame.cpp index c8701e58..0024df69 100644 --- a/xo-interpreter2/src/interpreter2/IGCObject_DVsmApplyFrame.cpp +++ b/xo-interpreter2/src/interpreter2/IGCObject_DVsmApplyFrame.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DVsmApplyFrame::shallow_size(const DVsmApplyFrame & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DVsmApplyFrame::shallow_move(DVsmApplyFrame & self, obj gc) noexcept -> Opaque { diff --git a/xo-interpreter2/src/interpreter2/IGCObject_DVsmDefContFrame.cpp b/xo-interpreter2/src/interpreter2/IGCObject_DVsmDefContFrame.cpp index a574c84f..e0cc2158 100644 --- a/xo-interpreter2/src/interpreter2/IGCObject_DVsmDefContFrame.cpp +++ b/xo-interpreter2/src/interpreter2/IGCObject_DVsmDefContFrame.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DVsmDefContFrame::shallow_size(const DVsmDefContFrame & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DVsmDefContFrame::shallow_move(DVsmDefContFrame & self, obj gc) noexcept -> Opaque { diff --git a/xo-interpreter2/src/interpreter2/IGCObject_DVsmEvalArgsFrame.cpp b/xo-interpreter2/src/interpreter2/IGCObject_DVsmEvalArgsFrame.cpp index 072f0e49..8107e7d9 100644 --- a/xo-interpreter2/src/interpreter2/IGCObject_DVsmEvalArgsFrame.cpp +++ b/xo-interpreter2/src/interpreter2/IGCObject_DVsmEvalArgsFrame.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DVsmEvalArgsFrame::shallow_size(const DVsmEvalArgsFrame & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DVsmEvalArgsFrame::shallow_move(DVsmEvalArgsFrame & self, obj gc) noexcept -> Opaque { diff --git a/xo-interpreter2/src/interpreter2/IGCObject_DVsmIfElseContFrame.cpp b/xo-interpreter2/src/interpreter2/IGCObject_DVsmIfElseContFrame.cpp index 842199da..7b95a521 100644 --- a/xo-interpreter2/src/interpreter2/IGCObject_DVsmIfElseContFrame.cpp +++ b/xo-interpreter2/src/interpreter2/IGCObject_DVsmIfElseContFrame.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DVsmIfElseContFrame::shallow_size(const DVsmIfElseContFrame & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DVsmIfElseContFrame::shallow_move(DVsmIfElseContFrame & self, obj gc) noexcept -> Opaque { diff --git a/xo-interpreter2/src/interpreter2/IGCObject_DVsmSeqContFrame.cpp b/xo-interpreter2/src/interpreter2/IGCObject_DVsmSeqContFrame.cpp index fb504b96..c9651507 100644 --- a/xo-interpreter2/src/interpreter2/IGCObject_DVsmSeqContFrame.cpp +++ b/xo-interpreter2/src/interpreter2/IGCObject_DVsmSeqContFrame.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DVsmSeqContFrame::shallow_size(const DVsmSeqContFrame & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DVsmSeqContFrame::shallow_move(DVsmSeqContFrame & self, obj gc) noexcept -> Opaque { diff --git a/xo-interpreter2/src/interpreter2/facet/IGCObject_DLocalEnv.cpp b/xo-interpreter2/src/interpreter2/facet/IGCObject_DLocalEnv.cpp index dfa0cc30..25b84b4e 100644 --- a/xo-interpreter2/src/interpreter2/facet/IGCObject_DLocalEnv.cpp +++ b/xo-interpreter2/src/interpreter2/facet/IGCObject_DLocalEnv.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DLocalEnv::shallow_size(const DLocalEnv & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DLocalEnv::shallow_move(DLocalEnv & self, obj gc) noexcept -> Opaque { diff --git a/xo-interpreter2/src/interpreter2/facet/IGCObject_DVirtualSchematikaMachine.cpp b/xo-interpreter2/src/interpreter2/facet/IGCObject_DVirtualSchematikaMachine.cpp index 97168084..8f071003 100644 --- a/xo-interpreter2/src/interpreter2/facet/IGCObject_DVirtualSchematikaMachine.cpp +++ b/xo-interpreter2/src/interpreter2/facet/IGCObject_DVirtualSchematikaMachine.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DVirtualSchematikaMachine::shallow_size(const DVirtualSchematikaMachine & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DVirtualSchematikaMachine::shallow_move(DVirtualSchematikaMachine & self, obj gc) noexcept -> Opaque { diff --git a/xo-object2/include/xo/object2/array/IGCObject_DArray.hpp b/xo-object2/include/xo/object2/array/IGCObject_DArray.hpp index 5540d32a..04669db9 100644 --- a/xo-object2/include/xo/object2/array/IGCObject_DArray.hpp +++ b/xo-object2/include/xo/object2/array/IGCObject_DArray.hpp @@ -48,8 +48,6 @@ namespace xo { /** @defgroup scm-gcobject-darray-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DArray & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-object2/include/xo/object2/boolean/IGCObject_DBoolean.hpp b/xo-object2/include/xo/object2/boolean/IGCObject_DBoolean.hpp index 2711b1ee..15ba4f75 100644 --- a/xo-object2/include/xo/object2/boolean/IGCObject_DBoolean.hpp +++ b/xo-object2/include/xo/object2/boolean/IGCObject_DBoolean.hpp @@ -48,8 +48,6 @@ namespace xo { /** @defgroup scm-gcobject-dboolean-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DBoolean & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-object2/include/xo/object2/dictionary/IGCObject_DDictionary.hpp b/xo-object2/include/xo/object2/dictionary/IGCObject_DDictionary.hpp index 375c4a69..173f7a44 100644 --- a/xo-object2/include/xo/object2/dictionary/IGCObject_DDictionary.hpp +++ b/xo-object2/include/xo/object2/dictionary/IGCObject_DDictionary.hpp @@ -48,8 +48,6 @@ namespace xo { /** @defgroup scm-gcobject-ddictionary-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DDictionary & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-object2/include/xo/object2/error/IGCObject_DRuntimeError.hpp b/xo-object2/include/xo/object2/error/IGCObject_DRuntimeError.hpp index 2726b697..25e6e241 100644 --- a/xo-object2/include/xo/object2/error/IGCObject_DRuntimeError.hpp +++ b/xo-object2/include/xo/object2/error/IGCObject_DRuntimeError.hpp @@ -48,8 +48,6 @@ namespace xo { /** @defgroup scm-gcobject-druntimeerror-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DRuntimeError & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-object2/include/xo/object2/list/IGCObject_DList.hpp b/xo-object2/include/xo/object2/list/IGCObject_DList.hpp index 78836d00..6132041f 100644 --- a/xo-object2/include/xo/object2/list/IGCObject_DList.hpp +++ b/xo-object2/include/xo/object2/list/IGCObject_DList.hpp @@ -48,8 +48,6 @@ namespace xo { /** @defgroup scm-gcobject-dlist-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DList & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-object2/include/xo/object2/number/IGCObject_DFloat.hpp b/xo-object2/include/xo/object2/number/IGCObject_DFloat.hpp index 8f78a0b9..accf1ea7 100644 --- a/xo-object2/include/xo/object2/number/IGCObject_DFloat.hpp +++ b/xo-object2/include/xo/object2/number/IGCObject_DFloat.hpp @@ -49,8 +49,6 @@ namespace xo { /** @defgroup scm-gcobject-dfloat-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DFloat & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-object2/include/xo/object2/number/IGCObject_DInteger.hpp b/xo-object2/include/xo/object2/number/IGCObject_DInteger.hpp index 5e135edd..8b418e12 100644 --- a/xo-object2/include/xo/object2/number/IGCObject_DInteger.hpp +++ b/xo-object2/include/xo/object2/number/IGCObject_DInteger.hpp @@ -48,8 +48,6 @@ namespace xo { /** @defgroup scm-gcobject-dinteger-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DInteger & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-object2/src/object2/IGCObject_DArray.cpp b/xo-object2/src/object2/IGCObject_DArray.cpp index 79273db5..84c4768a 100644 --- a/xo-object2/src/object2/IGCObject_DArray.cpp +++ b/xo-object2/src/object2/IGCObject_DArray.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DArray::shallow_size(const DArray & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DArray::shallow_move(DArray & self, obj gc) noexcept -> Opaque { diff --git a/xo-object2/src/object2/IGCObject_DBoolean.cpp b/xo-object2/src/object2/IGCObject_DBoolean.cpp index 10e97b27..0c1f3a8c 100644 --- a/xo-object2/src/object2/IGCObject_DBoolean.cpp +++ b/xo-object2/src/object2/IGCObject_DBoolean.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DBoolean::shallow_size(const DBoolean & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DBoolean::shallow_move(DBoolean & self, obj gc) noexcept -> Opaque { diff --git a/xo-object2/src/object2/IGCObject_DDictionary.cpp b/xo-object2/src/object2/IGCObject_DDictionary.cpp index bcdef5b8..e8c890a1 100644 --- a/xo-object2/src/object2/IGCObject_DDictionary.cpp +++ b/xo-object2/src/object2/IGCObject_DDictionary.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DDictionary::shallow_size(const DDictionary & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DDictionary::shallow_move(DDictionary & self, obj gc) noexcept -> Opaque { diff --git a/xo-object2/src/object2/IGCObject_DFloat.cpp b/xo-object2/src/object2/IGCObject_DFloat.cpp index f2a1aa3d..4908db82 100644 --- a/xo-object2/src/object2/IGCObject_DFloat.cpp +++ b/xo-object2/src/object2/IGCObject_DFloat.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DFloat::shallow_size(const DFloat & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DFloat::shallow_move(DFloat & self, obj gc) noexcept -> Opaque { diff --git a/xo-object2/src/object2/IGCObject_DInteger.cpp b/xo-object2/src/object2/IGCObject_DInteger.cpp index b0233bf5..99944479 100644 --- a/xo-object2/src/object2/IGCObject_DInteger.cpp +++ b/xo-object2/src/object2/IGCObject_DInteger.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DInteger::shallow_size(const DInteger & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DInteger::shallow_move(DInteger & self, obj gc) noexcept -> Opaque { diff --git a/xo-object2/src/object2/IGCObject_DList.cpp b/xo-object2/src/object2/IGCObject_DList.cpp index 813db3da..138f707f 100644 --- a/xo-object2/src/object2/IGCObject_DList.cpp +++ b/xo-object2/src/object2/IGCObject_DList.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DList::shallow_size(const DList & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DList::shallow_move(DList & self, obj gc) noexcept -> Opaque { diff --git a/xo-object2/src/object2/IGCObject_DRuntimeError.cpp b/xo-object2/src/object2/IGCObject_DRuntimeError.cpp index b8e5dbd9..fad46841 100644 --- a/xo-object2/src/object2/IGCObject_DRuntimeError.cpp +++ b/xo-object2/src/object2/IGCObject_DRuntimeError.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DRuntimeError::shallow_size(const DRuntimeError & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DRuntimeError::shallow_move(DRuntimeError & self, obj gc) noexcept -> Opaque { diff --git a/xo-procedure2/include/xo/procedure2/detail/IGCObject_DPrimitive_gco_0.hpp b/xo-procedure2/include/xo/procedure2/detail/IGCObject_DPrimitive_gco_0.hpp index 0b6b6e1c..a8b25c9b 100644 --- a/xo-procedure2/include/xo/procedure2/detail/IGCObject_DPrimitive_gco_0.hpp +++ b/xo-procedure2/include/xo/procedure2/detail/IGCObject_DPrimitive_gco_0.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-dprimitive_gco_0-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DPrimitive_gco_0 & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-procedure2/include/xo/procedure2/detail/IGCObject_DPrimitive_gco_1_gco.hpp b/xo-procedure2/include/xo/procedure2/detail/IGCObject_DPrimitive_gco_1_gco.hpp index 1536f0a9..89c13e30 100644 --- a/xo-procedure2/include/xo/procedure2/detail/IGCObject_DPrimitive_gco_1_gco.hpp +++ b/xo-procedure2/include/xo/procedure2/detail/IGCObject_DPrimitive_gco_1_gco.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-dprimitive_gco_1_gco-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DPrimitive_gco_1_gco & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-procedure2/include/xo/procedure2/detail/IGCObject_DPrimitive_gco_2_dict_string.hpp b/xo-procedure2/include/xo/procedure2/detail/IGCObject_DPrimitive_gco_2_dict_string.hpp index b971bd46..24dc8775 100644 --- a/xo-procedure2/include/xo/procedure2/detail/IGCObject_DPrimitive_gco_2_dict_string.hpp +++ b/xo-procedure2/include/xo/procedure2/detail/IGCObject_DPrimitive_gco_2_dict_string.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-dprimitive_gco_2_dict_string-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DPrimitive_gco_2_dict_string & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-procedure2/include/xo/procedure2/detail/IGCObject_DPrimitive_gco_2_gco_gco.hpp b/xo-procedure2/include/xo/procedure2/detail/IGCObject_DPrimitive_gco_2_gco_gco.hpp index e8f709b2..51db4ff8 100644 --- a/xo-procedure2/include/xo/procedure2/detail/IGCObject_DPrimitive_gco_2_gco_gco.hpp +++ b/xo-procedure2/include/xo/procedure2/detail/IGCObject_DPrimitive_gco_2_gco_gco.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-dprimitive_gco_2_gco_gco-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DPrimitive_gco_2_gco_gco & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-procedure2/include/xo/procedure2/detail/IGCObject_DPrimitive_gco_3_dict_string_gco.hpp b/xo-procedure2/include/xo/procedure2/detail/IGCObject_DPrimitive_gco_3_dict_string_gco.hpp index c4a87ace..81e0b418 100644 --- a/xo-procedure2/include/xo/procedure2/detail/IGCObject_DPrimitive_gco_3_dict_string_gco.hpp +++ b/xo-procedure2/include/xo/procedure2/detail/IGCObject_DPrimitive_gco_3_dict_string_gco.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-dprimitive_gco_3_dict_string_gco-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DPrimitive_gco_3_dict_string_gco & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-procedure2/src/procedure2/facet/IGCObject_DPrimitive_gco_0.cpp b/xo-procedure2/src/procedure2/facet/IGCObject_DPrimitive_gco_0.cpp index 170b5f2c..24a68f64 100644 --- a/xo-procedure2/src/procedure2/facet/IGCObject_DPrimitive_gco_0.cpp +++ b/xo-procedure2/src/procedure2/facet/IGCObject_DPrimitive_gco_0.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DPrimitive_gco_0::shallow_size(const DPrimitive_gco_0 & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DPrimitive_gco_0::shallow_move(DPrimitive_gco_0 & self, obj gc) noexcept -> Opaque { diff --git a/xo-procedure2/src/procedure2/facet/IGCObject_DPrimitive_gco_1_gco.cpp b/xo-procedure2/src/procedure2/facet/IGCObject_DPrimitive_gco_1_gco.cpp index 77979f20..9d411bf9 100644 --- a/xo-procedure2/src/procedure2/facet/IGCObject_DPrimitive_gco_1_gco.cpp +++ b/xo-procedure2/src/procedure2/facet/IGCObject_DPrimitive_gco_1_gco.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DPrimitive_gco_1_gco::shallow_size(const DPrimitive_gco_1_gco & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DPrimitive_gco_1_gco::shallow_move(DPrimitive_gco_1_gco & self, obj gc) noexcept -> Opaque { diff --git a/xo-procedure2/src/procedure2/facet/IGCObject_DPrimitive_gco_2_dict_string.cpp b/xo-procedure2/src/procedure2/facet/IGCObject_DPrimitive_gco_2_dict_string.cpp index 0c423e7e..32c43775 100644 --- a/xo-procedure2/src/procedure2/facet/IGCObject_DPrimitive_gco_2_dict_string.cpp +++ b/xo-procedure2/src/procedure2/facet/IGCObject_DPrimitive_gco_2_dict_string.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DPrimitive_gco_2_dict_string::shallow_size(const DPrimitive_gco_2_dict_string & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DPrimitive_gco_2_dict_string::shallow_move(DPrimitive_gco_2_dict_string & self, obj gc) noexcept -> Opaque { diff --git a/xo-procedure2/src/procedure2/facet/IGCObject_DPrimitive_gco_2_gco_gco.cpp b/xo-procedure2/src/procedure2/facet/IGCObject_DPrimitive_gco_2_gco_gco.cpp index b7ed3c99..281c426e 100644 --- a/xo-procedure2/src/procedure2/facet/IGCObject_DPrimitive_gco_2_gco_gco.cpp +++ b/xo-procedure2/src/procedure2/facet/IGCObject_DPrimitive_gco_2_gco_gco.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DPrimitive_gco_2_gco_gco::shallow_size(const DPrimitive_gco_2_gco_gco & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DPrimitive_gco_2_gco_gco::shallow_move(DPrimitive_gco_2_gco_gco & self, obj gc) noexcept -> Opaque { diff --git a/xo-procedure2/src/procedure2/facet/IGCObject_DPrimitive_gco_3_dict_string_gco.cpp b/xo-procedure2/src/procedure2/facet/IGCObject_DPrimitive_gco_3_dict_string_gco.cpp index 9a43c8ce..b15cc565 100644 --- a/xo-procedure2/src/procedure2/facet/IGCObject_DPrimitive_gco_3_dict_string_gco.cpp +++ b/xo-procedure2/src/procedure2/facet/IGCObject_DPrimitive_gco_3_dict_string_gco.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DPrimitive_gco_3_dict_string_gco::shallow_size(const DPrimitive_gco_3_dict_string_gco & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DPrimitive_gco_3_dict_string_gco::shallow_move(DPrimitive_gco_3_dict_string_gco & self, obj gc) noexcept -> Opaque { diff --git a/xo-reader2/include/xo/reader2/env/IGCObject_DGlobalEnv.hpp b/xo-reader2/include/xo/reader2/env/IGCObject_DGlobalEnv.hpp index e7b65c34..88bc11b1 100644 --- a/xo-reader2/include/xo/reader2/env/IGCObject_DGlobalEnv.hpp +++ b/xo-reader2/include/xo/reader2/env/IGCObject_DGlobalEnv.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-dglobalenv-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DGlobalEnv & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-reader2/include/xo/reader2/parser/IGCObject_DSchematikaParser.hpp b/xo-reader2/include/xo/reader2/parser/IGCObject_DSchematikaParser.hpp index 3e382bb0..39f61b9b 100644 --- a/xo-reader2/include/xo/reader2/parser/IGCObject_DSchematikaParser.hpp +++ b/xo-reader2/include/xo/reader2/parser/IGCObject_DSchematikaParser.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-dschematikaparser-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DSchematikaParser & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-reader2/src/reader2/facet/IGCObject_DGlobalEnv.cpp b/xo-reader2/src/reader2/facet/IGCObject_DGlobalEnv.cpp index 19af8f25..5c61e9ea 100644 --- a/xo-reader2/src/reader2/facet/IGCObject_DGlobalEnv.cpp +++ b/xo-reader2/src/reader2/facet/IGCObject_DGlobalEnv.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DGlobalEnv::shallow_size(const DGlobalEnv & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DGlobalEnv::shallow_move(DGlobalEnv & self, obj gc) noexcept -> Opaque { diff --git a/xo-reader2/src/reader2/facet/IGCObject_DSchematikaParser.cpp b/xo-reader2/src/reader2/facet/IGCObject_DSchematikaParser.cpp index 16ce2b5e..133b3f9c 100644 --- a/xo-reader2/src/reader2/facet/IGCObject_DSchematikaParser.cpp +++ b/xo-reader2/src/reader2/facet/IGCObject_DSchematikaParser.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DSchematikaParser::shallow_size(const DSchematikaParser & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DSchematikaParser::shallow_move(DSchematikaParser & self, obj gc) noexcept -> Opaque { diff --git a/xo-stringtable2/include/xo/stringtable2/string/IGCObject_DString.hpp b/xo-stringtable2/include/xo/stringtable2/string/IGCObject_DString.hpp index 96076662..4eaa9dc1 100644 --- a/xo-stringtable2/include/xo/stringtable2/string/IGCObject_DString.hpp +++ b/xo-stringtable2/include/xo/stringtable2/string/IGCObject_DString.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-dstring-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DString & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-stringtable2/include/xo/stringtable2/uniquestring/IGCObject_DUniqueString.hpp b/xo-stringtable2/include/xo/stringtable2/uniquestring/IGCObject_DUniqueString.hpp index 0a71251f..b6e1d19d 100644 --- a/xo-stringtable2/include/xo/stringtable2/uniquestring/IGCObject_DUniqueString.hpp +++ b/xo-stringtable2/include/xo/stringtable2/uniquestring/IGCObject_DUniqueString.hpp @@ -50,8 +50,6 @@ namespace xo { /** @defgroup scm-gcobject-duniquestring-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DUniqueString & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-stringtable2/src/stringtable2/IGCObject_DString.cpp b/xo-stringtable2/src/stringtable2/IGCObject_DString.cpp index e6e7fbba..d838e655 100644 --- a/xo-stringtable2/src/stringtable2/IGCObject_DString.cpp +++ b/xo-stringtable2/src/stringtable2/IGCObject_DString.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DString::shallow_size(const DString & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DString::shallow_move(DString & self, obj gc) noexcept -> Opaque { diff --git a/xo-stringtable2/src/stringtable2/IGCObject_DUniqueString.cpp b/xo-stringtable2/src/stringtable2/IGCObject_DUniqueString.cpp index e8659134..60a4d9b9 100644 --- a/xo-stringtable2/src/stringtable2/IGCObject_DUniqueString.cpp +++ b/xo-stringtable2/src/stringtable2/IGCObject_DUniqueString.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DUniqueString::shallow_size(const DUniqueString & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DUniqueString::shallow_move(DUniqueString & self, obj gc) noexcept -> Opaque { diff --git a/xo-type/include/xo/type/array/IGCObject_DArrayType.hpp b/xo-type/include/xo/type/array/IGCObject_DArrayType.hpp index 28f0dcca..fe1e8b13 100644 --- a/xo-type/include/xo/type/array/IGCObject_DArrayType.hpp +++ b/xo-type/include/xo/type/array/IGCObject_DArrayType.hpp @@ -48,8 +48,6 @@ namespace xo { /** @defgroup scm-gcobject-darraytype-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DArrayType & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-type/include/xo/type/atomic/IGCObject_DAtomicType.hpp b/xo-type/include/xo/type/atomic/IGCObject_DAtomicType.hpp index e5652bf6..844c21cc 100644 --- a/xo-type/include/xo/type/atomic/IGCObject_DAtomicType.hpp +++ b/xo-type/include/xo/type/atomic/IGCObject_DAtomicType.hpp @@ -48,8 +48,6 @@ namespace xo { /** @defgroup scm-gcobject-datomictype-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DAtomicType & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-type/include/xo/type/function/IGCObject_DFunctionType.hpp b/xo-type/include/xo/type/function/IGCObject_DFunctionType.hpp index 0c77e475..19c9b7da 100644 --- a/xo-type/include/xo/type/function/IGCObject_DFunctionType.hpp +++ b/xo-type/include/xo/type/function/IGCObject_DFunctionType.hpp @@ -48,8 +48,6 @@ namespace xo { /** @defgroup scm-gcobject-dfunctiontype-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DFunctionType & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-type/include/xo/type/list/IGCObject_DListType.hpp b/xo-type/include/xo/type/list/IGCObject_DListType.hpp index 322fc2da..19450270 100644 --- a/xo-type/include/xo/type/list/IGCObject_DListType.hpp +++ b/xo-type/include/xo/type/list/IGCObject_DListType.hpp @@ -48,8 +48,6 @@ namespace xo { /** @defgroup scm-gcobject-dlisttype-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DListType & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-type/include/xo/type/typevar/IGCObject_DTypeVarRef.hpp b/xo-type/include/xo/type/typevar/IGCObject_DTypeVarRef.hpp index 94be0f90..caf35660 100644 --- a/xo-type/include/xo/type/typevar/IGCObject_DTypeVarRef.hpp +++ b/xo-type/include/xo/type/typevar/IGCObject_DTypeVarRef.hpp @@ -48,8 +48,6 @@ namespace xo { /** @defgroup scm-gcobject-dtypevarref-methods **/ ///@{ // const methods - /** memory consumption for this instance **/ - static size_type shallow_size(const DTypeVarRef & self) noexcept; // non-const methods /** move instance using allocator **/ diff --git a/xo-type/src/type/IGCObject_DArrayType.cpp b/xo-type/src/type/IGCObject_DArrayType.cpp index 31867406..5f9e6c23 100644 --- a/xo-type/src/type/IGCObject_DArrayType.cpp +++ b/xo-type/src/type/IGCObject_DArrayType.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DArrayType::shallow_size(const DArrayType & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DArrayType::shallow_move(DArrayType & self, obj gc) noexcept -> Opaque { diff --git a/xo-type/src/type/IGCObject_DAtomicType.cpp b/xo-type/src/type/IGCObject_DAtomicType.cpp index 533f017e..287db903 100644 --- a/xo-type/src/type/IGCObject_DAtomicType.cpp +++ b/xo-type/src/type/IGCObject_DAtomicType.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DAtomicType::shallow_size(const DAtomicType & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DAtomicType::shallow_move(DAtomicType & self, obj gc) noexcept -> Opaque { diff --git a/xo-type/src/type/IGCObject_DFunctionType.cpp b/xo-type/src/type/IGCObject_DFunctionType.cpp index 4a44fd3b..3114a00d 100644 --- a/xo-type/src/type/IGCObject_DFunctionType.cpp +++ b/xo-type/src/type/IGCObject_DFunctionType.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DFunctionType::shallow_size(const DFunctionType & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DFunctionType::shallow_move(DFunctionType & self, obj gc) noexcept -> Opaque { diff --git a/xo-type/src/type/IGCObject_DListType.cpp b/xo-type/src/type/IGCObject_DListType.cpp index 7cabe586..bf5860f1 100644 --- a/xo-type/src/type/IGCObject_DListType.cpp +++ b/xo-type/src/type/IGCObject_DListType.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DListType::shallow_size(const DListType & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DListType::shallow_move(DListType & self, obj gc) noexcept -> Opaque { diff --git a/xo-type/src/type/IGCObject_DTypeVarRef.cpp b/xo-type/src/type/IGCObject_DTypeVarRef.cpp index 0dc4469c..910b7a9d 100644 --- a/xo-type/src/type/IGCObject_DTypeVarRef.cpp +++ b/xo-type/src/type/IGCObject_DTypeVarRef.cpp @@ -15,12 +15,6 @@ namespace xo { namespace scm { - auto - IGCObject_DTypeVarRef::shallow_size(const DTypeVarRef & self) noexcept -> size_type - { - return self.shallow_size(); - } - auto IGCObject_DTypeVarRef::shallow_move(DTypeVarRef & self, obj gc) noexcept -> Opaque {