BloombergLP::bslfmt::Streamed::Streamed

Create a Streamed wrapper instance around the specified object. The behavior is undefined unless the lifetime of object is at least as long as that of the wrapper created. This overload is deprecated when a formatter already exists for t_STREAMABLE.

Synopsis

Declared in <bslfmt_streamed.h>

Streamed(t_STREAMABLE const& object)
requires (bsl::formattable<t_STREAMABLE, char>);

Parameters

NameDescription
objectStreamable object to wrap for formatting via operator<<.