Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Typed enum implicitly casted to integer
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64 #include <iostream> enum MyEnum : uint32_t { First = 0x0, Second = 0x1 }; void Func(uint32_t arg) { std::cout << "Func(" << arg << ")\n"; } int main() { Func(MyEnum::First); }
run
|
edit
|
history
|
help
0
xxx
Thing
inherited
лаб1
virtual inheritance
move swap
MSVC14 <exception> header
Hello World
decltype_lambda
sample ptr and obj ex