finish api setup, ready to connect

This commit is contained in:
2024-07-30 03:04:30 +00:00
parent f8b4896b7c
commit 33e2120130
10 changed files with 604 additions and 18 deletions

View File

@ -80,6 +80,9 @@ public:
_M_cache(), _M_holds(), _M_assigned() {}
explicit operator max_size_t() const {
#ifdef _DEBUG
debug::assert(this->_M_assigned, "Wire is not assigned.");
#endif
if (this->_M_holds == false) {
this->_M_holds = true;
this->_M_cache = this->_M_func->call();