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

Name

Description

object

Streamable object to wrap for formatting via operator<<.

Created with MrDocs