]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/asio/doc/requirements/WaitTraits.qbk
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / asio / doc / requirements / WaitTraits.qbk
1 [/
2 / Copyright (c) 2003-2016 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
8 [section:WaitTraits Wait traits requirements]
9
10 In the table below, `X` denotes a wait traits class for clock type `Clock`,
11 where `Clock` meets the C++11 type requirements for a clock, and `d` denotes
12 a value of type `Clock::duration`.
13
14 [table WaitTraits requirements
15 [[expression] [return type] [assertion/note\npre/post-condition]]
16 [
17 [`X::to_wait_duration(d);`]
18 [`Clock::duration`]
19 [
20 Returns the maximum duration to be used for an individual,
21 implementation-defined wait operation.
22 ]
23 ]
24 ]
25
26 [endsect]