Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AdaptiveCpp/AdaptiveCpp
/ call_lambda
Function
call_lambda
tests/device_compilation_tests.cpp:35–37 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
33
}
34
35
void call_lambda(int& v) {
36
([&](){ v = add_five(v); })();
37
}
38
39
struct MyParent {
40
MyParent(std::initializer_list<int> init) {
Callers
1
MyParent
Method · 0.85
Calls
1
add_five
Function · 0.85
Tested by
no test coverage detected