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

A type&hyphen;erased class that can be used directly within untyped API entry points&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class UntypedFormatSpec;
----

== Description

An `UntypedFormatSpec` is specifically used as an argument to `FormatUntyped()`&period;

Example&colon;

absl&colon;&colon;UntypedFormatSpec format(&quot;%d&quot;)&semi; std&colon;&colon;string out&semi; CHECK(absl&colon;&colon;FormatUntyped(&amp;out, format, &lcub;absl&colon;&colon;FormatArg(1)&rcub;))&semi;

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:absl/UntypedFormatSpec/2constructor-0a.adoc[`UntypedFormatSpec`]         [.small]#[constructor]#
| Constructors
| xref:absl/UntypedFormatSpec/operator_assign.adoc[`operator&equals;`]  [.small]#[deleted]#
| Deleted copy assignment operator&period;
|===


== Protected Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:absl/UntypedFormatSpec/2constructor-01.adoc[`UntypedFormatSpec`]         [.small]#[constructor]#
| Constructs an untyped format spec from a pre&hyphen;parsed format&period;
|===


== Friends

[cols="1,4"]
|===
| Name| Description
| `absl::str&lowbar;format&lowbar;internal::UntypedFormatSpecImpl`
| 
|===


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