refactor: retire GCObject.shallow_size()
Not needed. Rely on size stored in gc-owned object header
This commit is contained in:
parent
1bad724e48
commit
f7ffc553bf
10 changed files with 0 additions and 40 deletions
|
|
@ -50,8 +50,6 @@ namespace xo {
|
||||||
/** @defgroup scm-gcobject-dprimitive_gco_0-methods **/
|
/** @defgroup scm-gcobject-dprimitive_gco_0-methods **/
|
||||||
///@{
|
///@{
|
||||||
// const methods
|
// const methods
|
||||||
/** memory consumption for this instance **/
|
|
||||||
static size_type shallow_size(const DPrimitive_gco_0 & self) noexcept;
|
|
||||||
|
|
||||||
// non-const methods
|
// non-const methods
|
||||||
/** move instance using allocator **/
|
/** move instance using allocator **/
|
||||||
|
|
|
||||||
|
|
@ -50,8 +50,6 @@ namespace xo {
|
||||||
/** @defgroup scm-gcobject-dprimitive_gco_1_gco-methods **/
|
/** @defgroup scm-gcobject-dprimitive_gco_1_gco-methods **/
|
||||||
///@{
|
///@{
|
||||||
// const methods
|
// const methods
|
||||||
/** memory consumption for this instance **/
|
|
||||||
static size_type shallow_size(const DPrimitive_gco_1_gco & self) noexcept;
|
|
||||||
|
|
||||||
// non-const methods
|
// non-const methods
|
||||||
/** move instance using allocator **/
|
/** move instance using allocator **/
|
||||||
|
|
|
||||||
|
|
@ -50,8 +50,6 @@ namespace xo {
|
||||||
/** @defgroup scm-gcobject-dprimitive_gco_2_dict_string-methods **/
|
/** @defgroup scm-gcobject-dprimitive_gco_2_dict_string-methods **/
|
||||||
///@{
|
///@{
|
||||||
// const methods
|
// const methods
|
||||||
/** memory consumption for this instance **/
|
|
||||||
static size_type shallow_size(const DPrimitive_gco_2_dict_string & self) noexcept;
|
|
||||||
|
|
||||||
// non-const methods
|
// non-const methods
|
||||||
/** move instance using allocator **/
|
/** move instance using allocator **/
|
||||||
|
|
|
||||||
|
|
@ -50,8 +50,6 @@ namespace xo {
|
||||||
/** @defgroup scm-gcobject-dprimitive_gco_2_gco_gco-methods **/
|
/** @defgroup scm-gcobject-dprimitive_gco_2_gco_gco-methods **/
|
||||||
///@{
|
///@{
|
||||||
// const methods
|
// const methods
|
||||||
/** memory consumption for this instance **/
|
|
||||||
static size_type shallow_size(const DPrimitive_gco_2_gco_gco & self) noexcept;
|
|
||||||
|
|
||||||
// non-const methods
|
// non-const methods
|
||||||
/** move instance using allocator **/
|
/** move instance using allocator **/
|
||||||
|
|
|
||||||
|
|
@ -50,8 +50,6 @@ namespace xo {
|
||||||
/** @defgroup scm-gcobject-dprimitive_gco_3_dict_string_gco-methods **/
|
/** @defgroup scm-gcobject-dprimitive_gco_3_dict_string_gco-methods **/
|
||||||
///@{
|
///@{
|
||||||
// const 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
|
// non-const methods
|
||||||
/** move instance using allocator **/
|
/** move instance using allocator **/
|
||||||
|
|
|
||||||
|
|
@ -15,12 +15,6 @@
|
||||||
|
|
||||||
namespace xo {
|
namespace xo {
|
||||||
namespace scm {
|
namespace scm {
|
||||||
auto
|
|
||||||
IGCObject_DPrimitive_gco_0::shallow_size(const DPrimitive_gco_0 & self) noexcept -> size_type
|
|
||||||
{
|
|
||||||
return self.shallow_size();
|
|
||||||
}
|
|
||||||
|
|
||||||
auto
|
auto
|
||||||
IGCObject_DPrimitive_gco_0::shallow_move(DPrimitive_gco_0 & self, obj<ACollector> gc) noexcept -> Opaque
|
IGCObject_DPrimitive_gco_0::shallow_move(DPrimitive_gco_0 & self, obj<ACollector> gc) noexcept -> Opaque
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -15,12 +15,6 @@
|
||||||
|
|
||||||
namespace xo {
|
namespace xo {
|
||||||
namespace scm {
|
namespace scm {
|
||||||
auto
|
|
||||||
IGCObject_DPrimitive_gco_1_gco::shallow_size(const DPrimitive_gco_1_gco & self) noexcept -> size_type
|
|
||||||
{
|
|
||||||
return self.shallow_size();
|
|
||||||
}
|
|
||||||
|
|
||||||
auto
|
auto
|
||||||
IGCObject_DPrimitive_gco_1_gco::shallow_move(DPrimitive_gco_1_gco & self, obj<ACollector> gc) noexcept -> Opaque
|
IGCObject_DPrimitive_gco_1_gco::shallow_move(DPrimitive_gco_1_gco & self, obj<ACollector> gc) noexcept -> Opaque
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -15,12 +15,6 @@
|
||||||
|
|
||||||
namespace xo {
|
namespace xo {
|
||||||
namespace scm {
|
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
|
auto
|
||||||
IGCObject_DPrimitive_gco_2_dict_string::shallow_move(DPrimitive_gco_2_dict_string & self, obj<ACollector> gc) noexcept -> Opaque
|
IGCObject_DPrimitive_gco_2_dict_string::shallow_move(DPrimitive_gco_2_dict_string & self, obj<ACollector> gc) noexcept -> Opaque
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -15,12 +15,6 @@
|
||||||
|
|
||||||
namespace xo {
|
namespace xo {
|
||||||
namespace scm {
|
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
|
auto
|
||||||
IGCObject_DPrimitive_gco_2_gco_gco::shallow_move(DPrimitive_gco_2_gco_gco & self, obj<ACollector> gc) noexcept -> Opaque
|
IGCObject_DPrimitive_gco_2_gco_gco::shallow_move(DPrimitive_gco_2_gco_gco & self, obj<ACollector> gc) noexcept -> Opaque
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -15,12 +15,6 @@
|
||||||
|
|
||||||
namespace xo {
|
namespace xo {
|
||||||
namespace scm {
|
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
|
auto
|
||||||
IGCObject_DPrimitive_gco_3_dict_string_gco::shallow_move(DPrimitive_gco_3_dict_string_gco & self, obj<ACollector> gc) noexcept -> Opaque
|
IGCObject_DPrimitive_gco_3_dict_string_gco::shallow_move(DPrimitive_gco_3_dict_string_gco & self, obj<ACollector> gc) noexcept -> Opaque
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue