commit 2025-10-03 23:48 add capacity() & size_free() in ZtCBaseList : ZCppMain/ZMainHead.H

This commit is contained in:
2025-10-03 23:48:53 +09:00
parent 0b9828c06a
commit 66660bfb3c
4 changed files with 58 additions and 65 deletions

View File

@ -2055,28 +2055,17 @@ namespace ZNsMain
inline TTypSize GetSize() const
{
return ml_LinkSize;
}/*
inline TTypSize GetSize() const*/
inline TTypSize size() const
{
return ml_LinkSize;
}/*
inline TTypSize size() const*/
{ return ml_LinkSize; }
inline TTypSize size () const
{ return ml_LinkSize; }
inline TTypSize capacity() const
{
return size()+mo_FreeObjt.size();
}/*
inline TTypSize capacity() const*/
{ return size()+mo_FreeObjt.size(); }
inline TypeSize GetFreeSize() const
{
return mo_FreeObjt.size();
}/*
inline TypeSize GetFreeSize() const*/
{ return mo_FreeObjt.size(); }
inline TypeSize size_free () const
{ return mo_FreeObjt.size(); }
inline bool IsEmpty() const