Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/programming-with-cpp20
/ main
Function
main
01.21-vectorsSize1/main.cpp:8–12 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
6
# include <vector>
7
8
int main()
9
{
10
auto v = std::vector<int>{3, 4, 5};
11
const std::integral auto size = v.size(); // #A Limit the type's properties
12
}
13
#else
14
int main()
15
{
Callers
nothing calls this directly
Calls
1
size
Method · 0.80
Tested by
no test coverage detected