26 lines
881 B
Plaintext
26 lines
881 B
Plaintext
|
[/
|
||
|
/ Copyright (c) 2003-2023 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 boost_asio.reference.Protocol `Protocol`] as well as the
|
||
|
additional requirements listed below.
|
||
|
|
||
|
[table AcceptableProtocol requirements
|
||
|
[[expression] [return type] [assertion/note[br]pre/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]
|