std::string format(const char *fmt, ...) { va_list args; va_start(args, fmt); std::string s = format_arg_list(fmt, args); va_end(args); return s; }
/** * @brief printf()-style formatting for STL string. * Use this function to format String:s in printf() style. */ String string_format(const TCHAR *fmt, ...) { va_list args; va_start(args, fmt); String s = format_arg_list(fmt, args); va_end(args); return s; }