Files
OpenVPNAdapter/asio/src/doc/requirements/AcceptableProtocol.qbk
T
Sergey Abramchuk d8b5f1556a Squashed 'OpenVPN Adapter/Vendors/asio/' content from commit 524288c
git-subtree-dir: OpenVPN Adapter/Vendors/asio
git-subtree-split: 524288cb4fcf84664b3dc39cb4424c7509969b92
2017-04-09 14:15:15 +03:00

26 lines
873 B
Plaintext

[/
/ 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]