Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/beefytech/Beef
/ Add
Method
Add
BeefySysLib/util/Array.h:746–751 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
744
}
745
746
void Add(const T& val)
747
{
748
if (this->mSize >= this->mAllocSize)
749
SetBufferSize(this->mAllocSize + this->mAllocSize / 2 + 1);
750
new (&this->mVals[this->mSize++]) T(val);
751
}
752
753
T& GetSafeRef(int idx)
754
{
Callers
1
ArrayImpl
Class · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected