Answers for "convert int to enum c++"

C++
1

convert int to enum c++

int i = 1;
Test val = static_cast<Test>(i);
Posted by: Guest on February-26-2022

Browse Popular Code Answers by Language