Qt Code:
  1. #ifdef Q_CC_MSVC
  2. #include<hash_map>
  3. using namespace stdext;
  4. #endif
  5.  
  6. #ifdef Q_CC_GNU
  7. #include<ext/hash_map>
  8. using namespace __gnu_cxx;
  9. #endif
To copy to clipboard, switch view to plain text mode