xo-object2: tidy IGCObject_DList
This commit is contained in:
parent
e6d1e935a5
commit
503fd41c78
12 changed files with 159 additions and 89 deletions
|
|
@ -19,6 +19,7 @@ namespace xo {
|
|||
using size_type = std::size_t;
|
||||
using AGCObject = xo::mm::AGCObject;
|
||||
using AAllocator = xo::mm::AAllocator;
|
||||
using ACollector = xo::mm::ACollector;
|
||||
using ppindentinfo = xo::print::ppindentinfo;
|
||||
|
||||
public:
|
||||
|
|
@ -51,6 +52,12 @@ namespace xo {
|
|||
/** pretty-printing driver; combine layout+printing **/
|
||||
bool pretty(const ppindentinfo & ppii) const;
|
||||
|
||||
// GCObject facet
|
||||
|
||||
size_type shallow_size() const noexcept;
|
||||
DList * shallow_copy(obj<AAllocator> mm) const noexcept;
|
||||
size_type forward_children(obj<ACollector> gc) noexcept;
|
||||
|
||||
/** first member of list **/
|
||||
obj<AGCObject> head_;
|
||||
/** remainder of list **/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue