adjust output

This commit is contained in:
2024-08-01 14:20:54 +00:00
parent 90033d5c63
commit 00fc4c945e
10 changed files with 99 additions and 96 deletions

View File

@ -40,8 +40,9 @@ public:
this->_M_new = static_cast<max_size_t>(value);
}
auto peek() const -> max_size_t { // this function should only be used for convinience within the same module
if(this->_M_assigned) return this->_M_new;
return this->_M_old;
// if(this->_M_assigned) return this->_M_new;
// return this->_M_old;
return this->_M_new;
}
explicit operator max_size_t() const { return this->_M_old; }