我需要估計在sprintf操作中獲得的字符串的長度。 ... static void append_format(std::string& s, const char* format, va_list vl) { auto cur_length = s.length(); ...
確定! 回上一頁