Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/changkun/modern-cpp-tutorial
/ new_enum
Enum
new_enum
code/2/2.8.cpp:26–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
24
};
25
26
enum class new_enum : unsigned int{
27
value1,
28
value2,
29
value3 = 100,
30
value4 = 100
31
};
32
33
int main() {
34
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected