Bitcoin Core 28.99.0
P2P Digital Currency
|
Compile-time literal string that can be translated with an optional translation function. More...
#include <translation.h>
Public Member Functions | |
consteval | TranslatedLiteral (const char *str, const TranslateFn *fn=&G_TRANSLATION_FUN) |
operator std::string () const | |
operator bilingual_str () const | |
Public Attributes | |
const char *const | original |
const TranslateFn * | translate_fn |
Compile-time literal string that can be translated with an optional translation function.
Definition at line 55 of file translation.h.
|
inline |
|
inline |
Definition at line 61 of file translation.h.
|
inline |
Definition at line 60 of file translation.h.
const char* const util::TranslatedLiteral::original |
Definition at line 56 of file translation.h.
const TranslateFn* util::TranslatedLiteral::translate_fn |
Definition at line 57 of file translation.h.