Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ capacity
Method
capacity
CPP/vector-concepts/vector.h:47–49 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
45
return cs;
46
}
47
int capacity(){
48
return ms;
49
}
50
int operator[](const int i) const{
51
return arr[i];
52
}
Callers
1
main
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected