fork download
  1. #include <type_traits>
  2.  
  3. using uint = unsigned;
  4. enum class foo : uint { bar };
  5.  
  6. int main() {
  7. std::underlying_type<foo>::type ui;
  8. }
  9.  
  10.  
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty