mirror of
https://github.com/boostorg/openmethod.git
synced 2026-01-19 04:22:12 +00:00
35 lines
648 B
Plaintext
35 lines
648 B
Plaintext
|
|
## basic_error_output
|
|
|
|
### Synopsis
|
|
|
|
Defined in <boost/openmethod/policies/basic_error_output.hpp>.
|
|
|
|
```c++
|
|
namespace boost::openmethod::policies {
|
|
|
|
template<class Policy, typename Stream = /*unspecified*/>
|
|
struct basic_error_output : output {
|
|
static Stream error_stream;
|
|
};
|
|
|
|
}
|
|
```
|
|
|
|
### Description
|
|
|
|
`basic_error_output` is an implementation of `output` that writes error
|
|
messages to a `LightweightOutputStream`.
|
|
|
|
### Members
|
|
|
|
#### error_stream
|
|
|
|
```c++
|
|
Stream error_stream;
|
|
```
|
|
|
|
Initialized by the default constructor of `Stream`. It is the responsibility of
|
|
the program to initializate it if needed, e.g., for a `std::ofstream`, to open
|
|
it.
|