|
HikoGUI
A low latency retained GUI
|
#include <hikogui/l10n/translate.hpp>
Delayed formatting.
This class will capture all the arguments so that it may be passed to another thread. Then call the function operator to do the actual formatting.
|
inlinenoexcept |
Construct a translate arguments.
All arguments are passed by forwarding-references so that values can be moved into the storage of the translate object.
Arguments passed by reference will be copied. Arguments passed by std::string_view or std::span will be copied into a std::string or std::vector.
Literal strings will not be copied, instead a pointer is taken.
| args | The parameters to std::format excluding format string and locale. |
|
inlineoverridevirtualnoexcept |
Implements v1::detail::translate_args_base.
|
inlineoverridevirtualnoexcept |
Format text from the arguments and the given format string.
| loc | The locale to use when formatting. |
| fmt | The format string. |
Implements v1::detail::translate_args_base.
|
inlineoverridevirtualnoexcept |
Format text from the arguments and the given format string.
| fmt | The format string. |
Implements v1::detail::translate_args_base.
|
inlineoverridevirtualnoexcept |
The numeric value of the first numeric argument.
Implements v1::detail::translate_args_base.
|
inlineoverridevirtualnoexcept |
Make a unique copy of the arguments.
Implements v1::detail::translate_args_base.