mirror of
https://github.com/boostorg/openmethod.git
synced 2026-01-19 16:32:12 +00:00
29 lines
462 B
Plaintext
29 lines
462 B
Plaintext
|
|
## output
|
|
|
|
### Synopsis
|
|
|
|
Defined in <boost/openmethod/policies/basic_policy.hpp>.
|
|
|
|
```c++
|
|
namespace boost::openmethod::policies {
|
|
|
|
struct output : policy {};
|
|
|
|
} // boost::openmethod::policies
|
|
```
|
|
|
|
### Description
|
|
|
|
`output` is a policy that provides a stream for writing error messages.
|
|
|
|
### Requirements
|
|
|
|
#### error_stream
|
|
|
|
```c++
|
|
static LightweightOutputStream error_stream;
|
|
```
|
|
|
|
A static variable that satisfies the requirements of `LightweightOutputStream`.
|