EndpointSequence.qbk 1.0 KB

123456789101112131415161718192021222324252627282930
  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:EndpointSequence Endpoint sequence requirements]
  8. A type `X` meets the `EndpointSequence` requirements if it satisfies the
  9. requirements of `Destructible` (C++Std [destructible]) and `CopyConstructible`
  10. (C++Std [copyconstructible]), as well as the additional requirements listed
  11. below.
  12. In the table below, `x` denotes a (possibly const) value of type `X`.
  13. [table EndpointSequence requirements
  14. [[expression] [return type] [assertion/note\npre/post-condition]]
  15. [
  16. [`x.begin()`\n
  17. `x.end()`]
  18. [A type meeting the requirements for forward iterators
  19. (C++Std \[forward.iterators\]) whose value type is convertible to
  20. a type satisfying the [link boost_asio.reference.Endpoint `Endpoint`]
  21. requirements.]
  22. [[half_open_range `x.begin()`,`x.end()`] is a valid range.]
  23. ]
  24. ]
  25. [endsect]