Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/programming-with-cpp20
/ main
Function
main
01.18-vectorsSize0/main.cpp:20–24 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
18
} // namespace usingAuto
19
20
int main()
21
{
22
auto v = std::vector<int>{3, 4, 5};
23
const int size = v.size(); // #A int is the wrong type
24
}
Callers
nothing calls this directly
Calls
1
size
Method · 0.80
Tested by
no test coverage detected