MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / WithParams

Function WithParams

tests/LambdaWithStaticInvokerTest.cpp:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17};
18
19void WithParams()
20{
21 bool res = (6 == lWithParams(2, 3)); // 1
22 bool res2 = (7 == (+lWithParams)(2, 3)); // 2
23}
24
25auto glambda = [](auto a) { return a; };
26

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected