summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/asio/src/doc/requirements/AcceptableProtocol.qbk
blob: 37683879adf52de15b9abfc66424dbf05e1706ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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]