19 #ifndef TRINITYCORE_STRING_FORMAT_H
20 #define TRINITYCORE_STRING_FORMAT_H
27 template<
typename Format,
typename... Args>
30 return fmt::sprintf(std::forward<Format>(
fmt), std::forward<Args>(args)...);
36 return fmt ==
nullptr;
bool IsFormatEmptyOrNull(const char *fmt)
Returns true if the given char pointer is null.
Definition: StringFormat.h:34
std::string sprintf(CStringRef format, ArgList args)
Definition: format.h:3096
std::string StringFormat(Format &&fmt, Args &&...args)
Default TC string format function.
Definition: StringFormat.h:28