BloombergLP::bslfmt::Streamed::Streamed

Create a Streamed wrapper around the specified object.

Synopsis

Declared in <bslfmt_streamed.h>

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

Description

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.

Parameters

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