xo-interpreter2: refactor to setup vsm utest + repl

This commit is contained in:
Roland Conybeare 2026-02-02 10:53:28 -05:00
commit a5c2935dc2

View file

@ -27,6 +27,9 @@ namespace xo {
RAllocator() {}
RAllocator(Object::DataPtr data) : Object{std::move(data)} {}
RAllocator(const AAllocator * iface, void * data)
requires std::is_same_v<typename Object::DataType, xo::facet::DVariantPlaceholder>
: Object(iface, data) {}
typeseq _typeseq() const noexcept { return O::iface()->_typeseq(); }
void _drop() const noexcept { O::iface()->_drop(O::data()); }