random_access_handle.hpp 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // random_access_handle.hpp
  3. // ~~~~~~~~~~~~~~~~~~~~~~~~
  4. //
  5. // Copyright (c) 2003-2010 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_WINDOWS_RANDOM_ACCESS_HANDLE_HPP
  11. #define ASIO_WINDOWS_RANDOM_ACCESS_HANDLE_HPP
  12. #if defined(_MSC_VER) && (_MSC_VER >= 1200)
  13. # pragma once
  14. #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
  15. #include "asio/detail/push_options.hpp"
  16. #include "asio/windows/basic_random_access_handle.hpp"
  17. #if defined(ASIO_HAS_WINDOWS_RANDOM_ACCESS_HANDLE) \
  18. || defined(GENERATING_DOCUMENTATION)
  19. namespace asio {
  20. namespace windows {
  21. /// Typedef for the typical usage of a random-access handle.
  22. typedef basic_random_access_handle<> random_access_handle;
  23. } // namespace windows
  24. } // namespace asio
  25. #endif // defined(ASIO_HAS_WINDOWS_RANDOM_ACCESS_HANDLE)
  26. // || defined(GENERATING_DOCUMENTATION)
  27. #include "asio/detail/pop_options.hpp"
  28. #endif // ASIO_WINDOWS_RANDOM_ACCESS_HANDLE_HPP