Files
openmethod/doc/output.adoc
2025-09-05 15:28:45 -04:00

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.