1
0

IntTypes.hpp 611 B

12345678910111213141516171819202122232425262728
  1. #ifndef INTTYPES_HPP
  2. #define INTTYPES_HPP
  3. #include <iosfwd>
  4. namespace IntTypes
  5. {
  6. typedef __int8 int8_t;
  7. typedef unsigned __int8 uint8_t;
  8. typedef __int16 int16_t;
  9. typedef unsigned __int16 uint16_t;
  10. typedef __int32 int32_t;
  11. typedef unsigned __int32 uint32_t;
  12. typedef __int64 int64_t;
  13. typedef unsigned __int64 uint64_t;
  14. }
  15. std::ostream& operator<<(std::ostream&, IntTypes::int64_t);
  16. std::ostream& operator<<(std::ostream&, IntTypes::uint64_t);
  17. std::ostream& operator<<(std::ostream&, IntTypes::uint32_t);
  18. std::ostream& operator<<(std::ostream&, IntTypes::uint16_t);
  19. #endif