[#absl-UntypedFormatSpec] = xref:absl.adoc[absl]::UntypedFormatSpec :relfileprefix: ../ :mrdocs: A type‐erased class that can be used directly within untyped API entry points. == Synopsis Declared in `<absl/strings/str_format.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class UntypedFormatSpec; ---- == Description An `UntypedFormatSpec` is specifically used as an argument to `FormatUntyped()`. Example: absl::UntypedFormatSpec format("%d"); std::string out; CHECK(absl::FormatUntyped(&out, format, {absl::FormatArg(1)})); == Member Functions [cols="1,4"] |=== | Name| Description | xref:absl/UntypedFormatSpec/2constructor-0a.adoc[`UntypedFormatSpec`] [.small]#[constructor]# | Constructors | xref:absl/UntypedFormatSpec/operator_assign.adoc[`operator=`] [.small]#[deleted]# | Deleted copy assignment operator. |=== == 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‐parsed format. |=== == Friends [cols="1,4"] |=== | Name| Description | `absl::str_format_internal::UntypedFormatSpecImpl` | |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#