summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/asio/src/examples/cpp14/deferred
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/asio/src/examples/cpp14/deferred')
-rw-r--r--3rdparty/asio/src/examples/cpp14/deferred/deferred_1.cpp5
-rw-r--r--3rdparty/asio/src/examples/cpp14/deferred/deferred_2.cpp5
-rw-r--r--3rdparty/asio/src/examples/cpp14/deferred/deferred_3.cpp5
-rw-r--r--3rdparty/asio/src/examples/cpp14/deferred/deferred_4.cpp5
-rw-r--r--3rdparty/asio/src/examples/cpp14/deferred/deferred_5.cpp5
-rw-r--r--3rdparty/asio/src/examples/cpp14/deferred/deferred_6.cpp8
-rw-r--r--3rdparty/asio/src/examples/cpp14/deferred/deferred_7.cpp8
7 files changed, 16 insertions, 25 deletions
diff --git a/3rdparty/asio/src/examples/cpp14/deferred/deferred_1.cpp b/3rdparty/asio/src/examples/cpp14/deferred/deferred_1.cpp
index 732fa4fa9b5..db9213eb3be 100644
--- a/3rdparty/asio/src/examples/cpp14/deferred/deferred_1.cpp
+++ b/3rdparty/asio/src/examples/cpp14/deferred/deferred_1.cpp
@@ -2,17 +2,16 @@
// deferred_1.cpp
// ~~~~~~~~~~~~~~
//
-// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
+// Copyright (c) 2003-2024 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)
//
#include <asio.hpp>
-#include <asio/experimental/deferred.hpp>
#include <iostream>
-using asio::experimental::deferred;
+using asio::deferred;
int main()
{
diff --git a/3rdparty/asio/src/examples/cpp14/deferred/deferred_2.cpp b/3rdparty/asio/src/examples/cpp14/deferred/deferred_2.cpp
index c33bbc2a5ed..07528282de5 100644
--- a/3rdparty/asio/src/examples/cpp14/deferred/deferred_2.cpp
+++ b/3rdparty/asio/src/examples/cpp14/deferred/deferred_2.cpp
@@ -2,17 +2,16 @@
// deferred_2.cpp
// ~~~~~~~~~~~~~~
//
-// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
+// Copyright (c) 2003-2024 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)
//
#include <asio.hpp>
-#include <asio/experimental/deferred.hpp>
#include <iostream>
-using asio::experimental::deferred;
+using asio::deferred;
int main()
{
diff --git a/3rdparty/asio/src/examples/cpp14/deferred/deferred_3.cpp b/3rdparty/asio/src/examples/cpp14/deferred/deferred_3.cpp
index 484dfca638f..396e40840a1 100644
--- a/3rdparty/asio/src/examples/cpp14/deferred/deferred_3.cpp
+++ b/3rdparty/asio/src/examples/cpp14/deferred/deferred_3.cpp
@@ -2,17 +2,16 @@
// deferred_3.cpp
// ~~~~~~~~~~~~~~
//
-// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
+// Copyright (c) 2003-2024 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)
//
#include <asio.hpp>
-#include <asio/experimental/deferred.hpp>
#include <iostream>
-using asio::experimental::deferred;
+using asio::deferred;
template <typename CompletionToken>
auto async_wait_twice(asio::steady_timer& timer, CompletionToken&& token)
diff --git a/3rdparty/asio/src/examples/cpp14/deferred/deferred_4.cpp b/3rdparty/asio/src/examples/cpp14/deferred/deferred_4.cpp
index 1f70821eaa5..a8ea73336d2 100644
--- a/3rdparty/asio/src/examples/cpp14/deferred/deferred_4.cpp
+++ b/3rdparty/asio/src/examples/cpp14/deferred/deferred_4.cpp
@@ -2,17 +2,16 @@
// deferred_4.cpp
// ~~~~~~~~~~~~~~
//
-// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
+// Copyright (c) 2003-2024 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)
//
#include <asio.hpp>
-#include <asio/experimental/deferred.hpp>
#include <iostream>
-using asio::experimental::deferred;
+using asio::deferred;
template <typename CompletionToken>
auto async_wait_twice(asio::steady_timer& timer, CompletionToken&& token)
diff --git a/3rdparty/asio/src/examples/cpp14/deferred/deferred_5.cpp b/3rdparty/asio/src/examples/cpp14/deferred/deferred_5.cpp
index b48056bd66d..d262b977811 100644
--- a/3rdparty/asio/src/examples/cpp14/deferred/deferred_5.cpp
+++ b/3rdparty/asio/src/examples/cpp14/deferred/deferred_5.cpp
@@ -2,17 +2,16 @@
// deferred_5.cpp
// ~~~~~~~~~~~~~~
//
-// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
+// Copyright (c) 2003-2024 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)
//
#include <asio.hpp>
-#include <asio/experimental/deferred.hpp>
#include <iostream>
-using asio::experimental::deferred;
+using asio::deferred;
template <typename CompletionToken>
auto async_wait_twice(asio::steady_timer& timer, CompletionToken&& token)
diff --git a/3rdparty/asio/src/examples/cpp14/deferred/deferred_6.cpp b/3rdparty/asio/src/examples/cpp14/deferred/deferred_6.cpp
index 502d43bc67c..7ccef58cc5c 100644
--- a/3rdparty/asio/src/examples/cpp14/deferred/deferred_6.cpp
+++ b/3rdparty/asio/src/examples/cpp14/deferred/deferred_6.cpp
@@ -2,19 +2,17 @@
// deferred_6.cpp
// ~~~~~~~~~~~~~~
//
-// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
+// Copyright (c) 2003-2024 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)
//
#include <asio.hpp>
-#include <asio/experimental/append.hpp>
-#include <asio/experimental/deferred.hpp>
#include <iostream>
-using asio::experimental::append;
-using asio::experimental::deferred;
+using asio::append;
+using asio::deferred;
template <typename CompletionToken>
auto async_wait_twice(asio::steady_timer& timer, CompletionToken&& token)
diff --git a/3rdparty/asio/src/examples/cpp14/deferred/deferred_7.cpp b/3rdparty/asio/src/examples/cpp14/deferred/deferred_7.cpp
index da49fc7040e..b0734542c79 100644
--- a/3rdparty/asio/src/examples/cpp14/deferred/deferred_7.cpp
+++ b/3rdparty/asio/src/examples/cpp14/deferred/deferred_7.cpp
@@ -2,19 +2,17 @@
// deferred_7.cpp
// ~~~~~~~~~~~~~~
//
-// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
+// Copyright (c) 2003-2024 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)
//
#include <asio.hpp>
-#include <asio/experimental/append.hpp>
-#include <asio/experimental/deferred.hpp>
#include <iostream>
-using asio::experimental::append;
-using asio::experimental::deferred;
+using asio::append;
+using asio::deferred;
template <typename CompletionToken>
auto async_wait_twice(asio::steady_timer& timer, CompletionToken&& token)