xo-expression2 stack: expand MemorySizeInfo w/ per-type detail
This commit is contained in:
parent
0023831e4c
commit
16309dfff6
8 changed files with 138 additions and 24 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue