xo-alloc2 xo-object: bugfix + refactor -> IGCObject_DList builds

This commit is contained in:
Roland Conybeare 2025-12-14 13:52:29 -05:00
commit 1caa002faa
5 changed files with 111 additions and 1 deletions

View file

@ -0,0 +1,26 @@
/** @file DList.hpp
*
* @author Roland Conybeare, Dec 2025
**/
#include "xo/alloc2/RGCObject.hpp"
#include "xo/alloc2/IGCObject_Any.hpp"
#include "xo/facet/obj.hpp"
namespace xo {
namespace scm {
struct DList {
using AGCObject = xo::mm::AGCObject;
DList(xo::obj<AGCObject> h,
xo::obj<AGCObject> r) : head_{h}, rest_{r} {}
obj<AGCObject> head_;
obj<AGCObject> rest_;
};
} /*namespace scm*/
} /*namespace xo*/
/* end DList.hpp */