ioobjectservice.qbk

来自「Boost provides free peer-reviewed portab」· QBK 代码 · 共 49 行

QBK
49
字号
[/ / Copyright (c) 2003-2008 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:IoObjectService I/O object service requirements]An I/O object service must meet the requirements for a [linkboost_asio.reference.Service service], as well as the requirements listedbelow.In the table below, `X` denotes an I/O object service class, `a` denotes avalue of type `X`, `b` denotes a value of type `X::implementation_type`, and`u` denotes an identifier.[table IoObjectService requirements  [[expression] [return type] [assertion/note\npre/post-condition]]  [    [`X::implementation_type`]    []    []  ]  [    [`X::implementation_type u;`]    []    [note: `X::implementation_type` has a public default constructor and     destructor.]  ]  [    [``      a.construct(b);    ``]    []    []  ]  [    [``      a.destroy(b);    ``]    []    [note: `destroy()` will only be called on a value that has previously been     initialised with `construct()`.]  ]][endsect]

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?