Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/cppinsights
/ Foo
Function
Foo
tests/ClassOperatorHandler9Test.cpp:53–60 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
51
}
52
53
vec_t Foo(const vec_t& a, const vec_t& b)
54
{
55
vec_t result{a.size()};
56
for(std::size_t s = 0; s <= a.size(); ++s) {
57
result[s] = a[s] + b[s];
58
}
59
return result;
60
}
61
62
int main()
63
{
Callers
1
main
Function · 0.70
Calls
1
size
Method · 0.45
Tested by
no test coverage detected