tinyformat::RuntimeFormat

Wrapper marking a format string as runtime data, skipping compile-time checks.

Synopsis

Declared in <tinyformat.h>

struct RuntimeFormat;

Description

Added for Bitcoin Core. Similar to std::runtime_format from C++26.

Member Functions

NameDescription
RuntimeFormat [constructor]Wrap a runtime format string.

Data Members

NameDescription
fmt Format string, kept as a reference so its c_str() stays valid.