Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AdaptiveCpp/AdaptiveCpp
/ add_five
Function
add_five
tests/device_compilation_tests.cpp:31–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
29
BOOST_FIXTURE_TEST_SUITE(device_compilation_test_suite, reset_device_fixture)
30
31
int add_five(int v) {
32
return v + 5;
33
}
34
35
void call_lambda(int& v) {
36
([&](){ v = add_five(v); })();
Callers
2
call_lambda
Function · 0.85
convert
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected