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

Function main

tests/LambdaInLamda2Test.cpp:1–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1int main()
2{
3 auto l =
4 [s =
5 [] () {
6 struct S{
7 int v{676};
8 };
9 return S{};
10 } ()
11 ] () mutable
12 {
13 ++s.v;
14 return s;
15 };
16
17 auto l2 = l;
18}
19
20

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected