A type‐erased class that can be used directly within untyped API entry points.
Synopsis
Declared in <absl/strings/str_format.h>
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
Name |
Description |
|
Constructors |
|
Deleted copy assignment operator. |
Protected Member Functions
Name |
Description |
|
Constructs an untyped format spec from a pre‐parsed format. |
Friends
Name |
Description |
|
Created with MrDocs