AcceptableProtocol.qbk 879 B

12345678910111213141516171819202122232425
  1. [/
  2. / Copyright (c) 2003-2019 Christopher M. Kohlhoff (chris at kohlhoff dot com)
  3. /
  4. / Distributed under the Boost Software License, Version 1.0. (See accompanying
  5. / file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. /]
  7. [section:AcceptableProtocol Acceptable protocol requirements]
  8. A type `X` meets the `AcceptableProtocol` requirements if it satisfies the
  9. requirements of [link boost_asio.reference.Protocol `Protocol`] as well as the
  10. additional requirements listed below.
  11. [table AcceptableProtocol requirements
  12. [[expression] [return type] [assertion/note\npre/post-conditions]]
  13. [
  14. [`X::socket`]
  15. [A type that satisfies the requirements of `Destructible` (C++Std
  16. \[destructible\]) and `MoveConstructible` (C++Std \[moveconstructible\]),
  17. and that is publicly and unambiguously derived from `basic_socket<X>`.]
  18. []
  19. ]
  20. ]
  21. [endsect]