Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WheretIB/nullc
/ FastVector
Method
FastVector
NULLC/Array.h:14–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
12
{
13
public:
14
FastVector()
15
{
16
data = &one;
17
if(zeroNewMemory)
18
memset(data, 0, sizeof(T));
19
max = 1;
20
count = 0;
21
}
22
explicit FastVector(unsigned int reserved)
23
{
24
if(!skipConstructor)
Callers
nothing calls this directly
Calls
1
assert
Function · 0.85
Tested by
no test coverage detected