__stl__.h 806 B

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