yorel::yomm2::policy::basic_error_output
defined in <yorel/yomm2/policy.hpp>, also provided by <yorel/yomm2/core.hpp>, <yorel/yomm2/keywords.hpp>
template<class Policy, typename Stream = /*unspecified*/>
struct basic_error_output;
basic_error_output implements the error_output facet.
Policy: The policy containing the facet. Since basic_error_output has
static state, making the policy a template parameter ensures that each policy
has its wn set of static member variables.
Stream: Stream can be any type that satisfies the requirements of
RestrictedOutputStream. The default value is a lightweight version of
std::ostream that writes to stderr, using low-level C functions.
| Name | Value |
|---|---|
| Stream error_stream | the stream to print to |
Initialized by the default constructor of Stream. It is the responsibility of
the program to perform further initialization if needed - for example, open a
std::ofstream, before calling update.