summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/asio/src/doc/requirements/AcceptableProtocol.qbk
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/asio/src/doc/requirements/AcceptableProtocol.qbk')
-rw-r--r--3rdparty/asio/src/doc/requirements/AcceptableProtocol.qbk25
1 files changed, 25 insertions, 0 deletions
diff --git a/3rdparty/asio/src/doc/requirements/AcceptableProtocol.qbk b/3rdparty/asio/src/doc/requirements/AcceptableProtocol.qbk
new file mode 100644
index 00000000000..37683879adf
--- /dev/null
+++ b/3rdparty/asio/src/doc/requirements/AcceptableProtocol.qbk
@@ -0,0 +1,25 @@
+[/
+ / Copyright (c) 2003-2016 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)
+ /]
+
+[section:AcceptableProtocol Acceptable protocol requirements]
+
+A type `X` meets the `AcceptableProtocol` requirements if it satisfies the
+requirements of [link asio.reference.Protocol `Protocol`] as well as the
+additional requirements listed below.
+
+[table AcceptableProtocol requirements
+ [[expression] [return type] [assertion/note\npre/post-conditions]]
+ [
+ [`X::socket`]
+ [A type that satisfies the requirements of `Destructible` (C++Std
+ \[destructible\]) and `MoveConstructible` (C++Std \[moveconstructible\]),
+ and that is publicly and unambiguously derived from `basic_socket<X>`.]
+ []
+ ]
+]
+
+[endsect]