C/C++格式化输出的库 - FastFormat 0.7.1 Alpha 7 发布

openkk 13年前
     <p><a href="/misc/goto?guid=4958330989394765628" target="_blank">FastFormat </a>是一个C/C++格式化输出的库,输入的参数是类型安全的/范型的/可扩展的。</p>    <p>示例代码:</p>    <pre>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> </p>    <p>changlog:</p>    <p>This release changes the manner in which integer string forms is evaluated (now in terms of STLSoft's integral_printf_traits<>), to simplify definitions and fix a defect (found on I32LP64 systems). It adds a makefile for GCC 4.7. It adds fastformat.core.vcxproj (VC++ 10). It changes core source files to include new src/ximpl_core.hpp. It adds various unit/component tests. It bundles shwild 0.9.20 and xTests 0.16.5; and depends on STLSoft 1.9.112</p>