cstdint.hpp 917 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // detail/cstdint.hpp
  3. // ~~~~~~~~~~~~~~~~~~
  4. //
  5. // Copyright (c) 2003-2023 Christopher M. Kohlhoff (chris at kohlhoff dot com)
  6. //
  7. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  8. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  9. //
  10. #ifndef ASIO_DETAIL_CSTDINT_HPP
  11. #define ASIO_DETAIL_CSTDINT_HPP
  12. #if defined(_MSC_VER) && (_MSC_VER >= 1200)
  13. # pragma once
  14. #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
  15. #include "asio/detail/config.hpp"
  16. #include <cstdint>
  17. namespace asio {
  18. using std::int16_t;
  19. using std::int_least16_t;
  20. using std::uint16_t;
  21. using std::uint_least16_t;
  22. using std::int32_t;
  23. using std::int_least32_t;
  24. using std::uint32_t;
  25. using std::uint_least32_t;
  26. using std::int64_t;
  27. using std::int_least64_t;
  28. using std::uint64_t;
  29. using std::uint_least64_t;
  30. using std::uintptr_t;
  31. using std::uintmax_t;
  32. } // namespace asio
  33. #endif // ASIO_DETAIL_CSTDINT_HPP