[#BloombergLP-bslfmt-Streamed-0f9-2constructor-00] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/Streamed-0f9.adoc[Streamed]::Streamed :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<bslfmt_streamed.h>` 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslfmt/Streamed-0f9/2constructor-0c.adoc[Streamed](t_STREAMABLE const& object) requires (!bsl::formattable<t_STREAMABLE, char>); ---- [.small]#xref:BloombergLP/bslfmt/Streamed-0f9/2constructor-0c.adoc[_» more..._]# 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`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslfmt/Streamed-0f9/2constructor-02.adoc[Streamed](t_STREAMABLE const& object) requires (bsl::formattable<t_STREAMABLE, char>); ---- [.small]#xref:BloombergLP/bslfmt/Streamed-0f9/2constructor-02.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *object* | Streamable object to wrap for formatting via `operator<<`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#