fork(2) download
  1. #include <iostream>
  2. #include <type_traits>
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. cout << is_integral<signed char >::value << endl;
  8. cout << is_integral<unsigned char >::value << endl;
  9. cout << is_integral<unsigned short >::value << endl;
  10. cout << is_integral<unsigned int >::value << endl;
  11. cout << is_integral<unsigned long >::value << endl;
  12. cout << is_integral<unsigned long long>::value << endl;
  13. return 0;
  14. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
1
1
1
1
1
1