[#tinyformat-FormatStringCheck] = xref:tinyformat.adoc[tinyformat]::FormatStringCheck :relfileprefix: ../ :mrdocs: Format string wrapper that checks the format at compile time. == Synopsis Declared in `<tinyformat.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<unsigned int num_params> struct FormatStringCheck; ---- == Description Added for Bitcoin Core. Unlike ConstevalFormatString this supports RuntimeFormat‐wrapped std::string for runtime string formatting without compile time checks. == 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. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:tinyformat/FormatStringCheck/fmt.adoc[`fmt`] | Validated null‐terminated format string. |=== == 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. | xref:tinyformat/printf.adoc[`printf`] | Format list of arguments to std::cout, according to the given format string | xref:tinyformat/printfln.adoc[`printfln`] | Format list of arguments to std::cout, then append a newline. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#