diff options
Diffstat (limited to 'src/StringUtils.h')
-rw-r--r-- | src/StringUtils.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/StringUtils.h b/src/StringUtils.h index cd232bb68..efb6a8566 100644 --- a/src/StringUtils.h +++ b/src/StringUtils.h @@ -19,33 +19,6 @@ typedef std::map<AString, AString> AStringMap; -/** Output the formatted text into the string. -Returns a_Dst. */ -extern AString & vPrintf(AString & a_Dst, const char * a_Format, fmt::printf_args a_ArgList); -template <typename... Args> -AString & Printf(AString & a_Dst, const char * a_Format, const Args & ... a_Args) -{ - return vPrintf(a_Dst, a_Format, fmt::make_printf_args(a_Args...)); -} - -/** Output the formatted text into string -Returns the formatted string by value. */ -extern AString vPrintf(const char * a_Format, fmt::printf_args a_ArgList); -template <typename... Args> -AString Printf(const char * a_Format, const Args & ... a_Args) -{ - return vPrintf(a_Format, fmt::make_printf_args(a_Args...)); -} - -/** Add the formated string to the existing data in the string. -Returns a_Dst. */ -extern AString & vAppendPrintf(AString & a_Dst, const char * a_Format, fmt::printf_args a_ArgList); -template <typename... Args> -extern AString & AppendPrintf(AString & a_Dst, const char * a_Format, const Args & ... a_Args) -{ - return vAppendPrintf(a_Dst, a_Format, fmt::make_printf_args(a_Args...)); -} - /** Split the string at any of the listed delimiters. Return the splitted strings as a stringvector. */ extern AStringVector StringSplit(const AString & str, const AString & delim); |