...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
An I/O object service must meet the requirements for a service, as well as the requirements listed below.
In the table below, X
denotes
an I/O object service class, a
denotes a value of type X
,
b
denotes a value of type
X::implementation_type
, and u
denotes an identifier.
Table 17. IoObjectService requirements
expression |
return type |
assertion/note |
---|---|---|
|
|
|
|
|
note: |
a.construct(b);
|
|
|
a.destroy(b);
|
|
note: |