Bitcoin Core 28.99.0
P2P Digital Currency
|
A wrapper for a compile-time partially validated format string. More...
#include <string.h>
Public Member Functions | |
consteval | ConstevalFormatString (const char *str) |
Public Attributes | |
const char *const | fmt |
A wrapper for a compile-time partially validated format string.
This struct can be used to enforce partial compile-time validation of format strings, to reduce the likelihood of tinyformat throwing exceptions at run-time. Validation is partial to try and prevent the most common errors while avoiding re-implementing the entire parsing logic.
|
inline |
const char* const util::ConstevalFormatString< num_params >::fmt |