fork(1) download
  1. #include <iostream>
  2. #include <typeinfo>
  3.  
  4. using namespace std;
  5.  
  6. typedef struct fftuw {float f;} A;
  7. typedef struct jzhaa {short s;} B;
  8.  
  9. int main() {
  10. cout << typeid(A).hash_code() << endl;
  11. cout << typeid(B).hash_code() << endl;
  12. return 0;
  13. }
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
842961395
842961395