A wrapper for a compile‐time partially validated format string
Synopsis
Declared in <util/string.h>
template<unsigned int num_params>
struct ConstevalFormatString;
Description
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.
Member Functions
Name |
Description |
|
Wrap and partially validate a format string at compile time. |