Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/programming-with-cpp20
/ main
Function
main
11.11-usingEnum1/main.cpp:26–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
24
}
25
26
int main()
27
{
28
Permission permission{Permission::Read};
29
30
const auto permissionStr{to_string(permission)};
31
32
printf(
"%s\n"
, permissionStr.data());
33
}
34
#else
35
int main() {}
36
#endif
Callers
nothing calls this directly
Calls
2
data
Method · 0.80
to_string
Function · 0.70
Tested by
no test coverage detected