|
| template<typename RESULT , typename F , typename... ARGS> |
| RESULT | Stroika::Foundation::Characters::Private_::WithFormatArgs_ (F &&f, const ARGS &... args) |
| |
| template<typename CHAR_T > |
| String | Stroika::Foundation::Characters::VFormat (const FormatString< CHAR_T > &f, const Common::StdCompat::wformat_args &args) |
| | same as std::vformat, except that it always uses wformat_args, and produces a Stroika String
|
| |
|
template<typename CHAR_T > |
| String | Stroika::Foundation::Characters::VFormat (const locale &loc, const FormatString< CHAR_T > &f, const Common::StdCompat::wformat_args &args) |
| | As above, with a locale.
|
| |
| String | Stroika::Foundation::Characters::FormatV (const wchar_t *format, va_list argsList) |
| | printf-style formatting of a va_list, into a String - with one difference from vswprintf: s takes a const wchar_t* (as Microsoft's does - the better reading, with wide characters)
|
| |
|
template<typename CHAR_T , IFormattable... ARGS> |
| String | Stroika::Foundation::Characters::Format (const FormatString< CHAR_T > &f, ARGS &&... args) |
| | Like std::format, but formats wide, into a String: f (args...) - its args checked at run time.
|
| |
|
template<typename CHAR_T , IFormattable... ARGS> |
| String | Stroika::Foundation::Characters::Format (const locale &l, const FormatString< CHAR_T > &f, ARGS &&... args) |
| | Like std::format, with a locale.
|
| |
|
template<Private_::FixedString_ LITERAL, Stroika_Foundation_Common_formattable_FilterOnStringLitOp_BWA(IFormattable)... ARGS> |
| String | Stroika::Foundation::Characters::Format (const FormatLiteral< LITERAL > &f, ARGS &&... args) |
| | Like std::format - args checked against f at compile time.
|
| |
|
template<Private_::FixedString_ LITERAL, Stroika_Foundation_Common_formattable_FilterOnStringLitOp_BWA(IFormattable)... ARGS> |
| String | Stroika::Foundation::Characters::Format (const locale &l, const FormatLiteral< LITERAL > &f, ARGS &&... args) |
| | Like std::format, with a locale - checked at compile time.
|
| |
- Note
- Code-Status: Beta
Definition in file Characters/Format.h.
template<typename RESULT , typename F , typename... ARGS>
| RESULT Stroika::Foundation::Characters::Private_::WithFormatArgs_ |
( |
F && |
f, |
|
|
const ARGS &... |
args |
|
) |
| |
f (the wformat_args of args): each argument itself where std::format can format it, else its Characters::ToString - kept alive through the call. Declared again in Debug/Trace.h, which cannot include this header.
Definition at line 42 of file Characters/Format.inl.