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

Function main

tests/VisitorTest.cpp:5–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3
4
5int main()
6{
7 auto my_visitor = visitor{
8 [&](int value) { /* ... */ },
9 [&](const char* value) { /* ... */ },
10 };
11
12
13 my_visitor("hello");
14 my_visitor(2);
15}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected