MCPcopy 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
35void call_lambda(int& v) {
36 ([&](){ v = add_five(v); })();
37}
38
39struct MyParent {
40 MyParent(std::initializer_list<int> init) {

Callers 1

MyParentMethod · 0.85

Calls 1

add_fiveFunction · 0.85

Tested by

no test coverage detected