xo-expression2 stack: expand MemorySizeInfo w/ per-type detail

This commit is contained in:
Roland Conybeare 2026-02-16 00:48:00 -05:00
commit 16309dfff6
8 changed files with 138 additions and 24 deletions

View file

@ -61,7 +61,7 @@ namespace xo {
}
private:
int32_t seqno_ = 0;
int32_t seqno_ = -1;
std::string_view name_;
};
@ -91,10 +91,11 @@ namespace xo {
return typeseq(xo::reflect::typerecd::recd<T>().seqno());
}
bool is_sentinel() const { return seqno_ == -1; }
int32_t seqno() const { return seqno_; }
private:
int32_t seqno_ = 0;
int32_t seqno_ = -1;
};
//template <typename Tag>