C++格式化输出库 FastFormat
fmms
13年前
<p>FastFormat 是一个C/C++格式化输出的库,输入的参数是类型安全的/范型的/可扩展的。</p> <p>示例代码:</p> <pre class="brush:cpp; toolbar: true; auto-links: false;">std::string fmt0("A c-style string: {0}"); std::string fmt1("A std::string: {0}"); std::string fmt2("A c-style string: {0}, and a std::string: {1}"); std::string fmt3("A c-style string: {1}, and an int: {0}");</pre> <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1326805578421" target="_blank">http://www.open-open.com/lib/view/home/1326805578421</a></p> <p></p>