cstdint.hpp 980 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // detail/cstdint.hpp
  3. // ~~~~~~~~~~~~~~~~~~
  4. //
  5. // Copyright (c) 2003-2024 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 BOOST_ASIO_DETAIL_CSTDINT_HPP
  11. #define BOOST_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 <boost/asio/detail/config.hpp>
  16. #include <cstdint>
  17. namespace boost {
  18. namespace asio {
  19. using std::int16_t;
  20. using std::int_least16_t;
  21. using std::uint16_t;
  22. using std::uint_least16_t;
  23. using std::int32_t;
  24. using std::int_least32_t;
  25. using std::uint32_t;
  26. using std::uint_least32_t;
  27. using std::int64_t;
  28. using std::int_least64_t;
  29. using std::uint64_t;
  30. using std::uint_least64_t;
  31. using std::uintptr_t;
  32. using std::uintmax_t;
  33. } // namespace asio
  34. } // namespace boost
  35. #endif // BOOST_ASIO_DETAIL_CSTDINT_HPP