Stroika Library 3.0d25
 
Loading...
Searching...
No Matches
Stroika::Foundation::Characters::Literals Namespace Reference

Create a format-string (see std::wformat_string or Stroika FormatString, or python 'f' strings) - a FormatLiteral. More...

Detailed Description

Create a format-string (see std::wformat_string or Stroika FormatString, or python 'f' strings) - a FormatLiteral.

The literal must be ASCII if narrow (a compile-time error otherwise) - narrow or wide, it formats wide, into a String (

See also
FormatString).
Example Usage
String a = "provider={}"_f (provider);
DbgTrace ("provider={}"_f , provider);
#define DbgTrace
Definition Trace.h:327
String is like std::u32string, except it is much easier to use, often much more space efficient,...
Definition String.h:201