fork download
  1. #include <type_traits>
  2.  
  3. static_assert(
  4. std::is_integral<bool>::value == true,
  5. "bool should be integral");
  6.  
  7. static_assert(
  8. std::is_integral<char>::value == true,
  9. "bool should be integral");
  10.  
  11. int main() {}
Success #stdin #stdout 0s 3292KB
stdin
Standard input is empty
stdout
Standard output is empty