xo-interpreter2: scaffold repl + alloc measurement frameowkr
This commit is contained in:
parent
5c273c2fee
commit
39ce835b1b
1 changed files with 5 additions and 2 deletions
|
|
@ -38,6 +38,7 @@ namespace xo {
|
|||
{}
|
||||
|
||||
/** (copy ctor not supported -- ownership is unique) **/
|
||||
box(const box & other) = delete;
|
||||
|
||||
// --------------------------------
|
||||
|
||||
|
|
@ -73,9 +74,11 @@ namespace xo {
|
|||
|
||||
~box() {
|
||||
auto p = this->data();
|
||||
if (p) {
|
||||
this->_drop();
|
||||
::operator delete(p);
|
||||
}
|
||||
}
|
||||
};
|
||||
} /*namespace facet*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue