libs/libvtrutil/src/vtr_util.cpp
//Returns a std::string formatted using a printf-style format string
Returns a std::string formatted using a printf-style format string
Returns a std :: string formatted using a printf - style format string
std::string string_fmt(const char* fmt, ...) {
    va_list va_args;
    va_start(va_args, fmt);
    std::string str = vstring_fmt(fmt, va_args);
    va_end(va_args);
    return str;
}
std :: string string_fmt ( const char * fmt , ... ) { va_list va_args ; va_start ( va_args , fmt ) ; std :: string str = vstring_fmt ( fmt , va_args ) ; va_end ( va_args ) ; return str ; }
Returns a std::string formatted using a printf-style format string
Returns a std :: string formatted using a printf - style format string
// Make a variable argument list // Initialize variable argument list //Format string // Reset variable argument list