Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BowenFu/matchit.cpp
/ main
Function
main
sample/variantAny.cpp:33–42 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
31
}
32
33
int32_t main()
34
{
35
std::variant<char const *, int32_t> v = 5;
36
print(v);
37
v =
"123"
;
38
print(v);
39
std::any a =
"arr"
;
40
print(a);
41
return 0;
42
}
Callers
nothing calls this directly
Calls
1
print
Function · 0.70
Tested by
no test coverage detected