Create a Streamed wrapper around the specified object.
Declared in <bslfmt_streamed.h>
Streamed(t_STREAMABLE const& object)
requires (bsl::formattable<t_STREAMABLE, char>);
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.
| Name | Description |
|---|---|
| object | Streamable object to wrap for formatting via operator<<. |