MCPcopy Create free account
hub / github.com/BowenFu/matchit.cpp / main

Function main

sample/visit.cpp:42–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42int main()
43{
44 using namespace matchit;
45
46 std::variant<int32_t, std::string> v1 = "123";
47 std::variant<int32_t, std::string> v2 = 123;
48
49 print(v1);
50 print(v2);
51 return 0;
52}

Callers

nothing calls this directly

Calls 1

printFunction · 0.70

Tested by

no test coverage detected