Format string wrapper that checks the format at compile time.
Synopsis
Declared in <tinyformat.h>
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
Name |
Description |
|
Constructors |
Access the underlying format string. |
Data Members
Name |
Description |
Validated null‐terminated format string. |
Non-Member Functions
Name |
Description |
Format list of arguments according to the given format string and return the result as a string. |
|
Format list of arguments to std::cout, according to the given format string |
|
Format list of arguments to std::cout, then append a newline. |
Created with MrDocs