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

Name

Description

object

Streamable object to wrap for formatting via operator<<.

Created with MrDocs