/Src/Dependencies/Boost/boost/asio/detail/array.hpp

http://hadesmem.googlecode.com/ · C++ Header · 40 lines · 23 code · 8 blank · 9 comment · 1 complexity · f9aabe6a1fcdade64f00a05a382859ca MD5 · raw file

  1. //
  2. // detail/array.hpp
  3. // ~~~~~~~~~~~~~~~~
  4. //
  5. // Copyright (c) 2003-2011 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_ARRAY_HPP
  11. #define BOOST_ASIO_DETAIL_ARRAY_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. #if defined(BOOST_ASIO_HAS_STD_ARRAY)
  17. # include <array>
  18. #else // defined(BOOST_ASIO_HAS_STD_ARRAY)
  19. # include <boost/array.hpp>
  20. #endif // defined(BOOST_ASIO_HAS_STD_ARRAY)
  21. namespace boost {
  22. namespace asio {
  23. namespace detail {
  24. #if defined(BOOST_ASIO_HAS_STD_ARRAY)
  25. using std::array;
  26. #else // defined(BOOST_ASIO_HAS_STD_ARRAY)
  27. using boost::array;
  28. #endif // defined(BOOST_ASIO_HAS_STD_ARRAY)
  29. } // namespace detail
  30. } // namespace asio
  31. } // namespace boost
  32. #endif // BOOST_ASIO_DETAIL_ARRAY_HPP