[#tinyformat-FormatStringCheck]
= xref:tinyformat.adoc[tinyformat]::FormatStringCheck
:relfileprefix: ../
:mrdocs:

Format string wrapper that checks the format at compile time&period;

== Synopsis

Declared in `&lt;tinyformat&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;unsigned int num&lowbar;params&gt;
struct FormatStringCheck;
----

== Description

Added for Bitcoin Core&period; Unlike ConstevalFormatString this supports RuntimeFormat&hyphen;wrapped std&colon;&colon;string for runtime string formatting without compile time checks&period;

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:tinyformat/FormatStringCheck/2constructor-02.adoc[`FormatStringCheck`]         [.small]#[constructor]#
| Constructors
| xref:tinyformat/FormatStringCheck/2conversion.adoc[`operator char const*`] 
| Access the underlying format string&period;
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:tinyformat/FormatStringCheck/fmt.adoc[`fmt`] 
| Validated null&hyphen;terminated format string&period;
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:tinyformat/format-02.adoc[`format`]
| Format list of arguments according to the given format string and return the result as a string&period;
| xref:tinyformat/printf.adoc[`printf`]
| Format list of arguments to std&colon;&colon;cout, according to the given format string
| xref:tinyformat/printfln.adoc[`printfln`]
| Format list of arguments to std&colon;&colon;cout, then append a newline&period;
|===


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