Compile‐time bilingual format string carrying a checked format and its translatable literal.

Synopsis

Declared in <util/translation.h>

template<unsigned int num_params>
struct BilingualFmt;

Member Functions

Name

Description

BilingualFmt [constructor]

Build a bilingual format string from a translatable literal.

Data Members

Name

Description

lit

The translatable literal used to produce the translated format string.

original

The compile‐time checked format string, using the original (English) text.

Non-Member Functions

Name

Description

::tinyformat::format

Format a bilingual string from a bilingual format string and its arguments.

Created with MrDocs