Previous: The html_styled_ostream
class, Up: Concrete styled_ostream
subclasses [Contents][Index]
noop_styled_ostream
classThe noop_styled_ostream
class supports the styled output operations
to any destination. The text is output to the given destination; the
styling operations, however, do nothing. Its type is
‘noop_styled_ostream_t’. It is a subclass of ‘styled_ostream_t’.
It can be instantiated through this function:
Creates an output stream that delegates to destination
and
that supports the styling operations as no-ops.
If pass_ownership
is true
, closing the resulting
stream will automatically close the destination
.
Note: If pass_ownership
is false
, the resulting stream
must be closed before destination
can be closed.