xo-interpreter2: refactor to setup vsm utest + repl
This commit is contained in:
parent
e1d19aaea7
commit
a5c2935dc2
1 changed files with 3 additions and 0 deletions
|
|
@ -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()); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue