[#BloombergLP-bslfmt-streamed-09]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::streamed
:relfileprefix: ../../
:mrdocs:

Create and return a `bslfmt&colon;&colon;Streamed` wrapper for the specified `object`&period;

== Synopsis

Declared in `&lt;bslfmt&lowbar;streamed&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;STREAMABLE&gt;
xref:BloombergLP/bslfmt/Streamed-0f9.adoc[bslfmt::Streamed&lt;t&lowbar;STREAMABLE&gt;]
streamed(t&lowbar;STREAMABLE const& object)
requires (bsl&colon;&colon;formattable&lt;t&lowbar;STREAMABLE, char&gt;);
----

== Description

The behavior is undefined unless `t&lowbar;STREAMABLE` has a standard and well&hyphen;behaved `std&colon;&colon;ostream` output operator&period; This wrapper&hyphen;creator free function to support compilation with no CTAD (Class Template Argument Deduction)&semi; see (&num;Usage)&period; Notice that for compilations that support the `bsl&colon;&colon;formattable` trait we define two concept&hyphen;driven overloads of this function, one of which will warn the user (compiler warning) if a `bsl&colon;&colon;formatter` already exists for the type they try to streamed&hyphen;wrap&period;

== Return Value

a `Streamed` wrapper referring to `object`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *object*
| Streamable object to wrap for formatting via `operator&lt;&lt;`&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
