Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
Format.h File Reference
#include "Stroika/Foundation/StroikaPreComp.h"
#include "Stroika/Foundation/Characters/String.h"
#include "Stroika/Foundation/Characters/ToString.h"
#include "Stroika/Foundation/Common/Common.h"
#include "Stroika/Foundation/Common/Concepts.h"
#include "Stroika/Foundation/Common/StdCompat.h"
#include "Format.inl"

Go to the source code of this file.

Classes

struct  Stroika::Foundation::Characters::FormatString< CHAR_T >
 Roughly equivalent to std::wformat_string, except that it can be constructed from 'char' string, and if 'char' require ASCII characters for format string. More...
 

Namespaces

namespace  Stroika::Foundation
 
namespace  Stroika::Foundation::Characters
 
namespace  Stroika::Foundation::Characters::Literals
 Create a format-string (see std::wformat_string or Stroika FormatString, or python 'f' strings.
 

Functions

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 always uses wformat_args, and produces Stroika String (and maybe more - soon - ??? - add extra conversions if I can find how?)
 
template<typename CHAR_T , Common::StdCompat::formattable< wchar_t >... ARGS>
String Stroika::Foundation::Characters::Format (const FormatString< CHAR_T > &f, ARGS &&... args)
 Like std::format, except returning stroika String, and taking _f (FormatString) string as argument (which can be ASCII, but still produce UNICODE output).
 

Detailed Description

Note
Code-Status: Alpha

Definition in file Characters/Format.h.