+ xo-object2
This commit is contained in:
parent
1bb0a71705
commit
ae8b4348b3
10 changed files with 262 additions and 0 deletions
30
include/xo/object2/IGCObject_DInteger.hpp
Normal file
30
include/xo/object2/IGCObject_DInteger.hpp
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/** @file IGCObject_DInteger.hpp
|
||||
*
|
||||
* @author Roland Conybeare, Dec 2025
|
||||
**/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "xo/alloc2/AAllocator.hpp"
|
||||
#include "xo/alloc2/AGCObject.hpp"
|
||||
#include "xo/alloc2/IGCObject_Xfer.hpp"
|
||||
#include "DInteger.hpp"
|
||||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
/* changes here coordinate with:
|
||||
* IGCObject_Xfer
|
||||
*/
|
||||
struct IGCObject_DInteger {
|
||||
public:
|
||||
using AAllocator = xo::mm::AAllocator;
|
||||
using size_type = std::size_t;
|
||||
|
||||
static size_type shallow_size(const DInteger & d) noexcept;
|
||||
static DInteger * shallow_copy(const DInteger & d, obj<AAllocator> mm) noexcept;
|
||||
static size_type forward_children(DInteger & d) noexcept;
|
||||
};
|
||||
} /*namespace scm*/
|
||||
} /*namespace xo*/
|
||||
|
||||
/* end IGCObject_DInteger.hpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue