标签:printf

共 1 篇文章

C++ std::format格式化字符串替代printf的类型安全优势

C++ std::format格式化字符串替代printf的类型安全优势 C++20 引入的 std::format 库旨在彻底解决 C 风格 printf 函数家族在类型安全上的

# C++ # C++20 # std::format
2026-04-21 175 0