__stl__.h 813 B

123456789101112131415161718192021222324252627282930313233343536
  1. #pragma once
  2. #ifdef _MSC_VER
  3. #pragma warning (disable:4267)
  4. #pragma warning (disable:4101)
  5. #define _CRT_NONSTDC_NO_DEPRECATE
  6. #endif
  7. #include <sstream>
  8. #include <regex>
  9. #include <stack>
  10. #include <cmath>
  11. #include <stdexcept>
  12. #include <vector>
  13. #include <string>
  14. #include <cstring>
  15. #include <chrono>
  16. #include <string_view>
  17. #include <queue>
  18. #include <iomanip>
  19. #include <map>
  20. #include <thread>
  21. #include <atomic>
  22. #include <iostream>
  23. #ifdef POCKETPY_H
  24. #define UNREACHABLE() throw std::runtime_error( "L" + std::to_string(__LINE__) + " UNREACHABLE()! This should be a bug, please report it");
  25. #else
  26. #define UNREACHABLE() throw std::runtime_error( __FILE__ + std::string(":") + std::to_string(__LINE__) + " UNREACHABLE()!");
  27. #endif
  28. #define PK_VERSION "0.5.1"
  29. //#define PKPY_NO_TYPE_CHECK
  30. //#define PKPY_NO_INDEX_CHECK