]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/asio/test/read_at.cpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / asio / test / read_at.cpp
index f6cbda60f376a8d4c35c51fbf5e41e62f4ee824a..2d8abe239889207507f07adac646846e45d8bcd2 100644 (file)
@@ -2,7 +2,7 @@
 // read_at.cpp
 // ~~~~~~~~~~~
 //
-// Copyright (c) 2003-2019 Christopher M. Kohlhoff (chris at kohlhoff dot com)
+// Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com)
 //
 // Distributed under the Boost Software License, Version 1.0. (See accompanying
 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -24,7 +24,7 @@
 #include "unit_test.hpp"
 
 #if defined(BOOST_ASIO_HAS_BOOST_BIND)
-# include <boost/bind.hpp>
+# include <boost/bind/bind.hpp>
 #else // defined(BOOST_ASIO_HAS_BOOST_BIND)
 # include <functional>
 #endif // defined(BOOST_ASIO_HAS_BOOST_BIND)
@@ -3440,9 +3440,9 @@ void test_4_arg_mutable_buffer_async_read_at()
   namespace bindns = boost;
 #else // defined(BOOST_ASIO_HAS_BOOST_BIND)
   namespace bindns = std;
-  using std::placeholders::_1;
-  using std::placeholders::_2;
 #endif // defined(BOOST_ASIO_HAS_BOOST_BIND)
+  using bindns::placeholders::_1;
+  using bindns::placeholders::_2;
 
   boost::asio::io_context ioc;
   test_random_access_device s(ioc);
@@ -3536,9 +3536,9 @@ void test_4_arg_boost_array_buffers_async_read_at()
   namespace bindns = boost;
 #else // defined(BOOST_ASIO_HAS_BOOST_BIND)
   namespace bindns = std;
-  using std::placeholders::_1;
-  using std::placeholders::_2;
 #endif // defined(BOOST_ASIO_HAS_BOOST_BIND)
+  using bindns::placeholders::_1;
+  using bindns::placeholders::_2;
 
 #if defined(BOOST_ASIO_HAS_BOOST_ARRAY)
   boost::asio::io_context ioc;
@@ -3635,9 +3635,9 @@ void test_4_arg_std_array_buffers_async_read_at()
   namespace bindns = boost;
 #else // defined(BOOST_ASIO_HAS_BOOST_BIND)
   namespace bindns = std;
-  using std::placeholders::_1;
-  using std::placeholders::_2;
 #endif // defined(BOOST_ASIO_HAS_BOOST_BIND)
+  using bindns::placeholders::_1;
+  using bindns::placeholders::_2;
 
 #if defined(BOOST_ASIO_HAS_STD_ARRAY)
   boost::asio::io_context ioc;
@@ -3734,9 +3734,9 @@ void test_4_arg_vector_buffers_async_read_at()
   namespace bindns = boost;
 #else // defined(BOOST_ASIO_HAS_BOOST_BIND)
   namespace bindns = std;
-  using std::placeholders::_1;
-  using std::placeholders::_2;
 #endif // defined(BOOST_ASIO_HAS_BOOST_BIND)
+  using bindns::placeholders::_1;
+  using bindns::placeholders::_2;
 
   boost::asio::io_context ioc;
   test_random_access_device s(ioc);
@@ -3831,9 +3831,9 @@ void test_4_arg_streambuf_async_read_at()
   namespace bindns = boost;
 #else // defined(BOOST_ASIO_HAS_BOOST_BIND)
   namespace bindns = std;
-  using std::placeholders::_1;
-  using std::placeholders::_2;
 #endif // defined(BOOST_ASIO_HAS_BOOST_BIND)
+  using bindns::placeholders::_1;
+  using bindns::placeholders::_2;
 
   boost::asio::io_context ioc;
   test_random_access_device s(ioc);
@@ -3931,9 +3931,9 @@ void test_5_arg_mutable_buffer_async_read_at()
   namespace bindns = boost;
 #else // defined(BOOST_ASIO_HAS_BOOST_BIND)
   namespace bindns = std;
-  using std::placeholders::_1;
-  using std::placeholders::_2;
 #endif // defined(BOOST_ASIO_HAS_BOOST_BIND)
+  using bindns::placeholders::_1;
+  using bindns::placeholders::_2;
 
   boost::asio::io_context ioc;
   test_random_access_device s(ioc);
@@ -4629,9 +4629,9 @@ void test_5_arg_boost_array_buffers_async_read_at()
   namespace bindns = boost;
 #else // defined(BOOST_ASIO_HAS_BOOST_BIND)
   namespace bindns = std;
-  using std::placeholders::_1;
-  using std::placeholders::_2;
 #endif // defined(BOOST_ASIO_HAS_BOOST_BIND)
+  using bindns::placeholders::_1;
+  using bindns::placeholders::_2;
 
 #if defined(BOOST_ASIO_HAS_BOOST_ARRAY)
   boost::asio::io_context ioc;
@@ -5330,9 +5330,9 @@ void test_5_arg_std_array_buffers_async_read_at()
   namespace bindns = boost;
 #else // defined(BOOST_ASIO_HAS_BOOST_BIND)
   namespace bindns = std;
-  using std::placeholders::_1;
-  using std::placeholders::_2;
 #endif // defined(BOOST_ASIO_HAS_BOOST_BIND)
+  using bindns::placeholders::_1;
+  using bindns::placeholders::_2;
 
 #if defined(BOOST_ASIO_HAS_STD_ARRAY)
   boost::asio::io_context ioc;
@@ -6031,9 +6031,9 @@ void test_5_arg_vector_buffers_async_read_at()
   namespace bindns = boost;
 #else // defined(BOOST_ASIO_HAS_BOOST_BIND)
   namespace bindns = std;
-  using std::placeholders::_1;
-  using std::placeholders::_2;
 #endif // defined(BOOST_ASIO_HAS_BOOST_BIND)
+  using bindns::placeholders::_1;
+  using bindns::placeholders::_2;
 
   boost::asio::io_context ioc;
   test_random_access_device s(ioc);
@@ -6730,9 +6730,9 @@ void test_5_arg_streambuf_async_read_at()
   namespace bindns = boost;
 #else // defined(BOOST_ASIO_HAS_BOOST_BIND)
   namespace bindns = std;
-  using std::placeholders::_1;
-  using std::placeholders::_2;
 #endif // defined(BOOST_ASIO_HAS_BOOST_BIND)
+  using bindns::placeholders::_1;
+  using bindns::placeholders::_2;
 
   boost::asio::io_context ioc;
   test_random_access_device s(ioc);