| 3 | |
| 4 | |
| 5 | int 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected