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

Method f

tests/LambdaHandler4Test.cpp:32–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 int x, y;
31 int operator()(int);
32 void f()
33 {
34 // the context of the following lambda is the member function X::f
35 [=]()->int
36 {
37 return operator()(this->x + y); // X::operator()(this->x + (*this).y)
38 // this has type X*
39 };
40 }
41};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected