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

Function foo

tests/EmptyLambda.cpp:1–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1void foo() {
2[]() {
3 // (void)X{1, 2, 3}; // => X(std::initializer_list<int>{1, 2, 3})
4 // (void)X{nullptr, 0}; // => X(nullptr, 0)
5// takes_y({1, 2}); // => Y _tmp = {1, 2}; takes_y(_tmp);
6}();
7}
8
9

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected