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