std::string 으로 format 구현
2021.04.29 by cepiloth
구현부 template std::string string_format(const std::string& format, Args ... args) { size_t size = snprintf(nullptr, 0, format.c_str(), args ...) + 1; // Extra space for '\0' if (size
컴퓨터 언어/C++ 2021. 4. 29. 16:31