|
| template<typename... Args> |
| constexpr auto | Acore::MakeFormatArgs (Args &&... args) |
| |
| template<typename... Args> |
| std::string | Acore::StringFormat (FormatString< Args... > fmt, Args &&... args) |
| | Default AC string format function.
|
| |
| template<typename OutputIt , typename... Args> |
| OutputIt | Acore::StringFormatTo (OutputIt out, FormatString< Args... > fmt, Args &&... args) |
| | Format directly to an output iterator.
|
| |
| std::string | Acore::StringVFormat (FormatStringView fmt, FormatArgs args) |
| | Format with pre-built format args.
|
| |
| template<typename OutputIt > |
| OutputIt | Acore::StringVFormatTo (OutputIt out, FormatStringView fmt, FormatArgs args) |
| | Format with pre-built format args directly to an output iterator.
|
| |
| bool | Acore::IsFormatEmptyOrNull (char const *fmt) |
| | Returns true if the given char pointer is null.
|
| |
| bool | Acore::IsFormatEmptyOrNull (std::string_view fmt) |
| | Returns true if the given std::string is empty.
|
| |
| template<class Str > |
| AC_COMMON_API Str | Acore::String::Trim (const Str &s, const std::locale &loc=std::locale()) |
| |
| AC_COMMON_API std::string | Acore::String::TrimRightInPlace (std::string &str) |
| |
| AC_COMMON_API std::string | Acore::String::AddSuffixIfNotExists (std::string str, const char suffix) |
| | Util function to add a suffix char. Can be used to add a slash at the end of a path.
|
| |
| template<typename T , FMT_ENABLE_IF(std::is_enum_v< T >) > |
| auto | format_as (T f) |
| |