[#absl-FormatStreamed]
= xref:absl.adoc[absl]::FormatStreamed
:relfileprefix: ../
:mrdocs:

Takes a streamable argument and returns an object that can print it with &apos;%s&apos;&period;

== Synopsis

Declared in `&lt;absl&sol;strings&sol;str&lowbar;format&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename T&gt;
str&lowbar;format&lowbar;internal::StreamedWrapper&lt;T&gt;
FormatStreamed(T const& v);
----

== Description

Allows printing of types that have an `operator&lt;&lt;` but no intrinsic type support within `StrFormat()` itself&period;

Example&colon;

absl&colon;&colon;StrFormat(&quot;%s&quot;, absl&colon;&colon;FormatStreamed(obj))&semi;

== Return Value

A wrapper that formats `v` using its stream operator&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *v*
| The streamable value to wrap&period;
|===


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