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
auto decltype - Return Type Decltype
atoi on hex
std::function ambiguity vc++
copy
Fast sine to fill array (sin/cos pair)
sharedptr emptiness
1
Matrix paths right-down only, going through XY
assaa
Hello World