Function ~inserter

Synopsis

#include "breeze/stream/inserter.hpp"

~inserter() noexcept

Description

If is_sentry_ok() returns true, and reset_width was passed to the constructor, sets the width of the destination stream to 0. Note that this is also done if the inserter emits an exception, which is different from e.g. what a typical implementation of a standard library inserter does (it's not clear to me whether the standard requires this or that behavior, but I consider mine easier to reason about, as the reset is unconditional).

Source

Line 92 in breeze/stream/inserter.hpp.