commit 2025-10-03 23:48 add capacity() & size_free() in ZtCBaseList : ZCppMain/ZMainHead.H
This commit is contained in:
@ -1413,10 +1413,14 @@ namespace ZNsMain
|
||||
|
||||
TypeSize GetSize () const{return ml_LinkSize;}
|
||||
TypeSize size () const{return ml_LinkSize;}
|
||||
TypeSize capacity() const{return size()+mo_FreeObjt.size();}
|
||||
|
||||
TypeSize capacity() const
|
||||
{ return size()+mo_FreeObjt.size(); }
|
||||
|
||||
TypeSize GetFreeSize() const
|
||||
{ return mo_FreeObjt.size(); }
|
||||
TypeSize size_free () const
|
||||
{ return mo_FreeObjt.size(); }
|
||||
|
||||
|
||||
ZCLink* GetHeadLinkPtr(){return mp_HeadLink;}
|
||||
|
Reference in New Issue
Block a user